summaryrefslogtreecommitdiff
path: root/package/gcc/patches/musl-m68k.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-24 07:19:53 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-24 07:19:53 +0200
commit85898f9ef5d6ead12220bbcf66e1e6ebad0fa9d8 (patch)
tree74eb0e026c5ef00644d841d229a54215d50e1838 /package/gcc/patches/musl-m68k.patch
parent8c11f332d15766b50cb154a4a002ac44e38da4a3 (diff)
fix gcc subpackage
Diffstat (limited to 'package/gcc/patches/musl-m68k.patch')
-rw-r--r--package/gcc/patches/musl-m68k.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/gcc/patches/musl-m68k.patch b/package/gcc/patches/musl-m68k.patch
new file mode 100644
index 000000000..54c7e0eef
--- /dev/null
+++ b/package/gcc/patches/musl-m68k.patch
@@ -0,0 +1,11 @@
+diff -Nur gcc-4.7.3.orig/gcc/config/m68k/linux.h gcc-4.7.3/gcc/config/m68k/linux.h
+--- gcc-4.7.3.orig/gcc/config/m68k/linux.h 2011-11-27 00:57:37.000000000 +0100
++++ gcc-4.7.3/gcc/config/m68k/linux.h 2013-09-28 22:37:22.000000000 +0200
+@@ -73,6 +73,7 @@
+ done. */
+
+ #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
++#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-m68k.so.1"
+
+ #undef LINK_SPEC
+ #define LINK_SPEC "-m m68kelf %{shared} \