[buildroot] add preliminary support for musl
[openwrt/svn-archive/archive.git] / toolchain / binutils / patches / 2.22 / 200-musl.patch
1 diff --git a/config.sub b/config.sub
2 --- a/config.sub
3 +++ b/config.sub
4 @@ -125,6 +125,7 @@
5 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
6 case $maybe_os in
7 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
8 + linux-musl* | \
9 linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
10 knetbsd*-gnu* | netbsd*-gnu* | \
11 kopensolaris*-gnu* | \
12 @@ -1335,6 +1336,7 @@
13 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
14 | -mingw32* | -linux-gnu* | -linux-android* \
15 | -linux-newlib* | -linux-uclibc* \
16 + | -linux-musl* \
17 | -uxpv* | -beos* | -mpeix* | -udk* \
18 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
19 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \