summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-02-26 16:40:20 +0000
committerFlorian Fainelli <florian@openwrt.org>2013-02-26 16:40:20 +0000
commit10c38f50a061a2c7ac233e2f78bdfc5b53989f6b (patch)
treeffdb4334c5f00db46a6f75bafd3853eb1b4a0d09 /toolchain
parentf08ef57424b487b166b2e3f4d13258ce1e008d06 (diff)
downloadmtk-20170518-10c38f50a061a2c7ac233e2f78bdfc5b53989f6b.zip
mtk-20170518-10c38f50a061a2c7ac233e2f78bdfc5b53989f6b.tar.gz
mtk-20170518-10c38f50a061a2c7ac233e2f78bdfc5b53989f6b.tar.bz2
toolchain/binutils: add musl libc config.sub patch to 2.23.1
Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 35814
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/binutils/patches/2.23.1/200-musl.patch10
1 files changed, 10 insertions, 0 deletions
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
index 0000000..40fe76d
--- /dev/null
+++ b/toolchain/binutils/patches/2.23.1/200-musl.patch
@@ -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* | \