summaryrefslogtreecommitdiff
path: root/scripts/config.sub
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-08-11 16:07:39 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2013-08-11 16:07:39 (GMT)
commit36a26b341d49d90e5b936278478134aa178a0238 (patch)
tree2c5bd0adacb775f849c82e5942a3bfb9061c8a5a /scripts/config.sub
parent16de5fcccc6de9d6df017078fb02f775514c1b9b (diff)
preliminary musl support
Diffstat (limited to 'scripts/config.sub')
-rwxr-xr-xscripts/config.sub3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/config.sub b/scripts/config.sub
index 66f218c..0ebcfce 100755
--- a/scripts/config.sub
+++ b/scripts/config.sub
@@ -121,6 +121,7 @@ esac
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
case $maybe_os in
nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
+ linux-musl* | \
uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
storm-chaos* | os2-emx* | rtmk-nova*)
os=-$maybe_os
@@ -1284,7 +1285,7 @@ case $os in
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
| -chorusos* | -chorusrdb* | -cegcc* \
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
- | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
+ | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* | -linux-musl* | \
| -uxpv* | -beos* | -mpeix* | -udk* \
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \