toolchain/binutils: add musl libc config.sub patch to 2.23.1
authorFlorian Fainelli <florian@openwrt.org>
Tue, 26 Feb 2013 16:40:20 +0000 (16:40 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 26 Feb 2013 16:40:20 +0000 (16:40 +0000)
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35814

toolchain/binutils/patches/2.23.1/200-musl.patch [new file with mode: 0644]

diff --git a/toolchain/binutils/patches/2.23.1/200-musl.patch b/toolchain/binutils/patches/2.23.1/200-musl.patch
new file mode 100644 (file)
index 0000000..40fe76d
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/config.sub
++++ b/config.sub
+@@ -125,6 +125,7 @@ esac
+ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
+ case $maybe_os in
+   nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
++  linux-musl* | \
+   linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
+   knetbsd*-gnu* | netbsd*-gnu* | \
+   kopensolaris*-gnu* | \