1
0

no-lib64.patch 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. diff -Nur gcc-4.4.1.orig/gcc/config/i386/linux64.h gcc-4.4.1/gcc/config/i386/linux64.h
  2. --- gcc-4.4.1.orig/gcc/config/i386/linux64.h 2009-04-10 01:23:07.000000000 +0200
  3. +++ gcc-4.4.1/gcc/config/i386/linux64.h 2009-08-21 18:34:13.000000000 +0200
  4. @@ -59,7 +59,7 @@
  5. done. */
  6. #define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
  7. -#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2"
  8. +#define GLIBC_DYNAMIC_LINKER64 "/lib/ld-linux-x86-64.so.2"
  9. #undef ASM_SPEC
  10. #define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} \
  11. diff -Nur gcc-4.4.1.orig/gcc/config/i386/t-linux64 gcc-4.4.1/gcc/config/i386/t-linux64
  12. --- gcc-4.4.1.orig/gcc/config/i386/t-linux64 2008-07-02 17:59:19.000000000 +0200
  13. +++ gcc-4.4.1/gcc/config/i386/t-linux64 2009-08-21 18:34:13.000000000 +0200
  14. @@ -7,7 +7,7 @@
  15. MULTILIB_OPTIONS = m64/m32
  16. MULTILIB_DIRNAMES = 64 32
  17. -MULTILIB_OSDIRNAMES = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)
  18. +MULTILIB_OSDIRNAMES = ../lib $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)
  19. LIBGCC = stmp-multilib
  20. INSTALL_LIBGCC = install-multilib
  21. diff -Nur gcc-4.4.1.orig/gcc/config/mips/linux64.h gcc-4.4.1/gcc/config/mips/linux64.h
  22. --- gcc-4.4.1.orig/gcc/config/mips/linux64.h 2009-02-20 16:20:38.000000000 +0100
  23. +++ gcc-4.4.1/gcc/config/mips/linux64.h 2009-08-21 18:37:19.000000000 +0200
  24. @@ -36,7 +36,7 @@
  25. %{profile:-lc_p} %{!profile:-lc}}"
  26. #define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
  27. -#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld.so.1"
  28. +#define GLIBC_DYNAMIC_LINKER64 "/lib/ld.so.1"
  29. #define GLIBC_DYNAMIC_LINKERN32 "/lib32/ld.so.1"
  30. #define UCLIBC_DYNAMIC_LINKERN32 "/lib32/ld-uClibc.so.0"
  31. #define LINUX_DYNAMIC_LINKERN32 \
  32. diff -Nur gcc-4.4.1.orig/gcc/config/mips/t-linux64 gcc-4.4.1/gcc/config/mips/t-linux64
  33. --- gcc-4.4.1.orig/gcc/config/mips/t-linux64 2006-06-06 14:51:24.000000000 +0200
  34. +++ gcc-4.4.1/gcc/config/mips/t-linux64 2009-08-21 18:34:13.000000000 +0200
  35. @@ -1,6 +1,6 @@
  36. MULTILIB_OPTIONS = mabi=n32/mabi=32/mabi=64
  37. MULTILIB_DIRNAMES = n32 32 64
  38. -MULTILIB_OSDIRNAMES = ../lib32 ../lib ../lib64
  39. +MULTILIB_OSDIRNAMES = ../lib ../lib ../lib
  40. EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o