summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toolchain/gcc/patches/4.7.2/uclibc-ld-path.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.7.2/uclibc-ld-path.patch b/toolchain/gcc/patches/4.7.2/uclibc-ld-path.patch
new file mode 100644
index 000000000..d45d27885
--- /dev/null
+++ b/toolchain/gcc/patches/4.7.2/uclibc-ld-path.patch
@@ -0,0 +1,14 @@
+diff -Nur gcc-4.7.2.orig/gcc/config/linux.h gcc-4.7.2/gcc/config/linux.h
+--- gcc-4.7.2.orig/gcc/config/linux.h 2012-08-14 15:59:04.000000000 +0200
++++ gcc-4.7.2/gcc/config/linux.h 2012-10-05 12:49:06.000000000 +0200
+@@ -76,8 +76,8 @@
+ supporting both 32-bit and 64-bit compilation. */
+ #define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
+ #define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0"
+-#define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0"
+-#define UCLIBC_DYNAMIC_LINKERX32 "/lib/ldx32-uClibc.so.0"
++#define UCLIBC_DYNAMIC_LINKER64 "/lib64/ld64-uClibc.so.0"
++#define UCLIBC_DYNAMIC_LINKERX32 "/libx32/ldx32-uClibc.so.0"
+ #define BIONIC_DYNAMIC_LINKER "/system/bin/linker"
+ #define BIONIC_DYNAMIC_LINKER32 "/system/bin/linker"
+ #define BIONIC_DYNAMIC_LINKER64 "/system/bin/linker64"