libsoup3: update to 3.6.0; fix GTK2/3 app startup
[oi-userland.git] / components / openindiana / illumos-gcc / patches / 06-64bit.patch
blobaeeff0207cff76159f206f98dc119064f46aba6d
2 Now that GNU binutils targets 64-bit by default, gcc needs to explicitly
3 pass --32 to the assembler.
5 --- illumos-gcc-0f5ed4c/gcc/config/i386/sol2-10.h.orig
6 +++ illumos-gcc-0f5ed4c/gcc/config/i386/sol2-10.h
7 @@ -26,7 +26,7 @@
8 #undef ASM_SPEC
9 #ifdef USE_GAS
10 #define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} " \
11 - "%{Wa,*:%*} %{m32:--32} %{m64:--64} -s %(asm_cpu)"
12 + "%{Wa,*:%*} %{!m64:--32} %{m64:--64} -s %(asm_cpu)"
13 #else
14 #define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} " \
15 "%{Wa,*:%*} %{m32:-xarch=generic} %{m64:-xarch=generic64} " \
16 --- illumos-gcc-0f5ed4c/gcc/configure.orig
17 +++ illumos-gcc-0f5ed4c/gcc/configure
18 @@ -22108,7 +22108,7 @@
19 leal foo@NTPOFF(%ecx), %eax'
20 tls_first_major=2
21 tls_first_minor=14
22 - tls_as_opt=--fatal-warnings
23 + tls_as_opt="-32 --fatal-warnings"
25 x86_64-*-*)
26 conftest_s='
27 --- illumos-gcc-0f5ed4c/gcc/configure.ac.orig
28 +++ illumos-gcc-0f5ed4c/gcc/configure.ac
29 @@ -2551,7 +2551,7 @@
30 leal foo@NTPOFF(%ecx), %eax'
31 tls_first_major=2
32 tls_first_minor=14
33 - tls_as_opt=--fatal-warnings
34 + tls_as_opt="-32 --fatal-warnings"
36 x86_64-*-*)
37 conftest_s='