updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / gcc45 / gcc_pure64.patch
blob8c0baf8e2c0ec9082df5938cb80fe5c5d441928f
1 diff -Naur gcc-4.2.0.orig/gcc/config/i386/linux64.h gcc-4.2.0/gcc/config/i386/linux64.h
2 --- gcc-4.2.0.orig/gcc/config/i386/linux64.h 2007-05-16 19:21:19.000000000 -0400
3 +++ gcc-4.2.0/gcc/config/i386/linux64.h 2007-05-18 17:04:05.000000000 -0400
4 @@ -49,8 +49,8 @@
5 When the -shared link option is used a final link is not being
6 done. */
8 -#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
9 -#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2"
10 +#define GLIBC_DYNAMIC_LINKER32 "/lib32/ld-linux.so.2"
11 +#define GLIBC_DYNAMIC_LINKER64 "/lib/ld-linux-x86-64.so.2"
13 #undef LINK_SPEC
14 #define LINK_SPEC "%{!m32:-m elf_x86_64} %{m32:-m elf_i386} \
15 diff -Naur gcc-4.2.0.orig/gcc/config/i386/t-linux64 gcc-4.2.0/gcc/config/i386/t-linux64
16 --- gcc-4.2.0.orig/gcc/config/i386/t-linux64 2007-05-16 19:21:19.000000000 -0400
17 +++ gcc-4.2.0/gcc/config/i386/t-linux64 2007-05-18 17:04:36.000000000 -0400
18 @@ -6,7 +6,7 @@
20 MULTILIB_OPTIONS = m64/m32
21 MULTILIB_DIRNAMES = 64 32
22 -MULTILIB_OSDIRNAMES = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)
23 +MULTILIB_OSDIRNAMES = ../lib ../lib32
25 LIBGCC = stmp-multilib
26 INSTALL_LIBGCC = install-multilib