diff options
author | Artur Artamonov <freeartman@wechall.net> | 2013-11-30 13:12:48 +0200 |
---|---|---|
committer | Artur Artamonov <freeartman@wechall.net> | 2013-11-30 13:12:48 +0200 |
commit | 8e00ec7d0c6082153c19df3c02833758f12afa07 (patch) | |
tree | 611fa8c5468172ca0f4b25cf891a0e7d82d68a96 /toolchain/gcc/patches/4.8.0/200-musl.patch | |
parent | 3b9e39f8fb790e6da476ab4cb8ad984c2b23c077 (diff) |
Fix uncompilation problem. Compiles with openwrt-trunktoolchain-unstable
Diffstat (limited to 'toolchain/gcc/patches/4.8.0/200-musl.patch')
-rw-r--r-- | toolchain/gcc/patches/4.8.0/200-musl.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.8.0/200-musl.patch b/toolchain/gcc/patches/4.8.0/200-musl.patch index 94a45e217..2e6df47e4 100644 --- a/toolchain/gcc/patches/4.8.0/200-musl.patch +++ b/toolchain/gcc/patches/4.8.0/200-musl.patch @@ -306,3 +306,16 @@ CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32, \ - BIONIC_DYNAMIC_LINKERN32) + BIONIC_DYNAMIC_LINKERN32, MUSL_DYNAMIC_LINKERN32) +--- a/gcc/config/sparc/linux64.h 2013-09-10 10:02:45.663973856 +0100 ++++ b/gcc/config/sparc/linux64.h 2013-09-10 10:03:17.871972435 +0100 +@@ -104,6 +104,9 @@ + #define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2" + #define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux.so.2" + ++#define MUSL_DYNAMIC_LINKER32 "/lib/ld-musl-sparc.so.1" ++#define MUSL_DYNAMIC_LINKER64 "/lib/ld-musl-sparc.so.1" ++ + #ifdef SPARC_BI_ARCH + + #undef SUBTARGET_EXTRA_SPECS + |