updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / codeviz / gcc_pure64.diff
blob0e05052f65c82f2fe216bbce421f132c0b5c577a
1 Submitted By: Jim Gifford (patches at jg555 dot com)
2 Date: 2005-08-27
3 Initial Package Version: 4.x
4 Origin: Ken Moffat and Jim Gifford
5 Rediffed against 4.1.0 by Chris Staub
6 Upstream Status: LFS Specific
7 Description: Make LIB64 builds in /lib instead of /lib64
9 diff -Naur gcc-4.1.0.orig/gcc/config/i386/linux64.h gcc-4.1.0/gcc/config/i386/linux64.h
10 --- gcc-4.1.0.orig/gcc/config/i386/linux64.h 2005-08-10 13:53:01.000000000 -0400
11 +++ gcc-4.1.0/gcc/config/i386/linux64.h 2006-03-01 01:13:54.000000000 -0500
12 @@ -60,8 +60,8 @@
13 %{!shared: \
14 %{!static: \
15 %{rdynamic:-export-dynamic} \
16 - %{m32:%{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}} \
17 - %{!m32:%{!dynamic-linker:-dynamic-linker /lib64/ld-linux-x86-64.so.2}}} \
18 + %{m32:%{!dynamic-linker:-dynamic-linker /lib32/ld-linux.so.2}} \
19 + %{!m32:%{!dynamic-linker:-dynamic-linker /lib/ld-linux-x86-64.so.2}}} \
20 %{static:-static}}"
22 /* Similar to standard Linux, but adding -ffast-math support. */
23 diff -Naur gcc-4.1.0.orig/gcc/config/i386/t-linux64 gcc-4.1.0/gcc/config/i386/t-linux64
24 --- gcc-4.1.0.orig/gcc/config/i386/t-linux64 2005-08-10 13:53:01.000000000 -0400
25 +++ gcc-4.1.0/gcc/config/i386/t-linux64 2006-03-01 01:13:54.000000000 -0500
26 @@ -6,7 +6,7 @@
28 MULTILIB_OPTIONS = m64/m32
29 MULTILIB_DIRNAMES = 64 32
30 -MULTILIB_OSDIRNAMES = ../lib64 ../lib
31 +MULTILIB_OSDIRNAMES = ../lib ../lib32
33 LIBGCC = stmp-multilib
34 INSTALL_LIBGCC = install-multilib