summaryrefslogtreecommitdiff
path: root/package/binutils
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-09-04 13:47:15 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-09-04 13:47:15 +0200
commit70cba12a4d326d2d326655845c1731b521285feb (patch)
tree2584841920e9391347f0442ca34335e06ceaff95 /package/binutils
parent4fed3d2f26c00198fb12141e2ba47c4633805821 (diff)
fix binutils build with musl and newer makeinfo stuff
Diffstat (limited to 'package/binutils')
-rw-r--r--package/binutils/patches/musl.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/binutils/patches/musl.patch b/package/binutils/patches/musl.patch
new file mode 100644
index 000000000..4ea53c18f
--- /dev/null
+++ b/package/binutils/patches/musl.patch
@@ -0,0 +1,20 @@
+diff -Nur binutils-2.22.orig/config.sub binutils-2.22/config.sub
+--- binutils-2.22.orig/config.sub 2011-06-06 12:36:06.000000000 +0200
++++ binutils-2.22/config.sub 2013-08-11 14:40:22.308115171 +0200
+@@ -126,6 +126,7 @@
+ case $maybe_os in
+ nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
+ linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
++ linux-musl* | \
+ knetbsd*-gnu* | netbsd*-gnu* | \
+ kopensolaris*-gnu* | \
+ storm-chaos* | os2-emx* | rtmk-nova*)
+@@ -1334,7 +1335,7 @@
+ | -chorusos* | -chorusrdb* | -cegcc* \
+ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+ | -mingw32* | -linux-gnu* | -linux-android* \
+- | -linux-newlib* | -linux-uclibc* \
++ | -linux-newlib* | -linux-uclibc* | -linux-musl* \
+ | -uxpv* | -beos* | -mpeix* | -udk* \
+ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
+ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \