Root/toolchain/gcc/patches/llvm/960-apple_no_m32.patch

1--- a/configure
2+++ b/configure
3@@ -1833,11 +1833,6 @@ case "${host}" in
4   # APPLE LOCAL begin dynamic-no-pic
5   i[3456789]86-*-darwin*)
6     host_makefile_frag="config/mh-x86-darwin"
7- # gcc can default to x86_64 code generation, avoid that
8- if test "${build}" = "${host}"; then
9- CC="${CC-gcc} -m32"
10- CXX="${CXX-g++} -m32"
11- fi
12     ;;
13   # APPLE LOCAL end dynamic-no-pic
14   powerpc-*-aix*)
15--- a/configure.in
16+++ b/configure.in
17@@ -993,11 +993,6 @@ case "${host}" in
18   # APPLE LOCAL begin dynamic-no-pic
19   i[[3456789]]86-*-darwin*)
20     host_makefile_frag="config/mh-x86-darwin"
21- # gcc can default to x86_64 code generation, avoid that
22- if test "${build}" = "${host}"; then
23- CC="${CC-gcc} -m32"
24- CXX="${CXX-g++} -m32"
25- fi
26     ;;
27   # APPLE LOCAL end dynamic-no-pic
28   powerpc-*-aix*)
29

Archive Download this file



interactive