summaryrefslogtreecommitdiff
path: root/toolchain/gcc/patches/4.7.2/uclibc-ld-path.patch
blob: d45d278851e0c7213219f202804f205cd740e196 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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"