aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/gcc-pure64.patch
blob: 392aa56957176aa4b6b233955a1cd0f72f07cb2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -Naur gcc-orig/gcc/config/i386/t-linux64 gcc/gcc/config/i386/t-linux64
--- gcc-orig/gcc/config/i386/t-linux64  2011-07-08 01:38:34.000000000 +1000
+++ gcc/gcc/config/i386/t-linux64       2011-07-24 19:49:41.000000000 +1000
@@ -34,8 +34,8 @@
 comma=,
 MULTILIB_OPTIONS    = $(subst $(comma),/,$(TM_MULTILIB_CONFIG))
 MULTILIB_DIRNAMES   = $(patsubst m%, %, $(subst /, ,$(MULTILIB_OPTIONS)))
-MULTILIB_OSDIRNAMES = m64=../lib64
-MULTILIB_OSDIRNAMES+= m32=$(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)
+MULTILIB_OSDIRNAMES = m64=../lib
+MULTILIB_OSDIRNAMES+= m32=../lib32
 MULTILIB_OSDIRNAMES+= mx32=../libx32

 LIBGCC = stmp-multilib