002-musl_host_fixup.patch 1.2 KB

123456789101112131415161718192021222324
  1. --- a/build-aux/config.sub
  2. +++ b/build-aux/config.sub
  3. @@ -122,9 +122,9 @@ esac
  4. # Here we must recognize all the valid KERNEL-OS combinations.
  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-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
  9. - knetbsd*-gnu* | netbsd*-gnu* | \
  10. + nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-musl* | \
  11. + linux-newlib* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
  12. + kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
  13. kopensolaris*-gnu* | \
  14. storm-chaos* | os2-emx* | rtmk-nova*)
  15. os=-$maybe_os
  16. @@ -1360,7 +1360,7 @@ case $os in
  17. | -chorusos* | -chorusrdb* | -cegcc* \
  18. | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
  19. | -mingw32* | -linux-gnu* | -linux-android* \
  20. - | -linux-newlib* | -linux-uclibc* \
  21. + | -linux-musl* | -linux-newlib* | -linux-uclibc* \
  22. | -uxpv* | -beos* | -mpeix* | -udk* \
  23. | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
  24. | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \