diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-10-05 14:50:40 +0200 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-10-05 14:50:40 +0200 |
commit | 6f22e79044473cba38b0aa0b59a5feffa3e003bc (patch) | |
tree | 35f8c8b5c4794089313b472c37c89eb21ca86100 /toolchain/gcc/patches | |
parent | b745589a884b7fc5fad66db0475ac296e4470615 (diff) |
add multilib support patch for uclibc to gcc
Diffstat (limited to 'toolchain/gcc/patches')
-rw-r--r-- | toolchain/gcc/patches/4.7.2/uclibc-ld-path.patch | 14 |
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" |