remmina: update to 1.4.37
[oi-userland.git] / components / developer / gcc-12 / patches / 0027-Use-appropriate-values-objects.patch
blobe4fd572d51cd9179258c4ae590dc0adeaa6ed7b7
1 From c026d8f5f32b94bc9a49a1e2752e307dd58952cc 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: 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 698d0cad2e4..924520954dc 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; \