component(developer/golang-123): Add Component
[oi-userland.git] / components / developer / gcc-10 / patches / 0029-Use-appropriate-values-objects.patch
blob1ebc01cb23209e1bcef5a7d019fa6e65b774e3eb
1 From 4347138faa3707122ae278278a9e4cd652c304fe Mon Sep 17 00:00:00 2001
2 From: Andy Fiddaman <omnios@citrus-it.co.uk>
3 Date: Tue, 7 Jan 2020 15:08:43 +0000
4 Subject: [PATCH 29/34] Use appropriate values objects
6 ---
7 gcc/config/sol2.h | 10 ++++++++--
8 1 file changed, 8 insertions(+), 2 deletions(-)
10 diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h
11 index 1e5830b4056..e63a1d6a544 100644
12 --- a/gcc/config/sol2.h
13 +++ b/gcc/config/sol2.h
14 @@ -201,8 +201,14 @@ along with GCC; see the file COPYING3. If not see
15 #undef STARTFILE_ARCH_SPEC
16 #define STARTFILE_ARCH_SPEC \
17 "%{!shared:%{!symbolic: \
18 - %{ansi|std=c*|std=iso9899\\:199409:values-Xc.o%s; :values-Xa.o%s} \
19 - %{std=c90|std=gnu90:values-xpg4.o%s; :values-xpg6.o%s}}}"
20 + %{ \
21 + std=c89|std=c90|std=gnu89|std=gnu90:values-Xa.o%s; \
22 + ansi|std=c*|std=iso9899\\:199409:values-Xc.o%s; \
23 + :values-Xa.o%s} \
24 + %{ \
25 + std=c89|std=c90|std=gnu89|std=gnu90:; \
26 + :values-xpg6.o%s \
27 + }}}"
29 #if defined(HAVE_LD_PIE) && defined(HAVE_SOLARIS_CRTS)
30 #define STARTFILE_CRTBEGIN_SPEC "%{static:crtbegin.o%s; \
31 --
32 2.31.1