diff options
author | Isaev Ruslan <legale.legale@gmail.com> | 2022-01-29 02:17:44 +0000 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2022-08-28 07:58:46 +0200 |
commit | 2f82fc6bf04dccd45f41cd9ed9a10478fb2bd31e (patch) | |
tree | 94329846230bc7b81c0926186c8fa702d1604463 /tools/libelf/patches/100-linux-musl.patch | |
parent | f5db80a3ab387cc840f5602cc81d3c2028cb7401 (diff) | |
download | upstream-2f82fc6bf04dccd45f41cd9ed9a10478fb2bd31e.tar.gz upstream-2f82fc6bf04dccd45f41cd9ed9a10478fb2bd31e.tar.bz2 upstream-2f82fc6bf04dccd45f41cd9ed9a10478fb2bd31e.zip |
tools/libelf: alpine linux os type: linux-musl fix
Prevents ./configure "checking build system" test fail on Alpine linux.
Signed-off-by: Isaev Ruslan <legale.legale@gmail.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz> [commit description]
Diffstat (limited to 'tools/libelf/patches/100-linux-musl.patch')
-rw-r--r-- | tools/libelf/patches/100-linux-musl.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/libelf/patches/100-linux-musl.patch b/tools/libelf/patches/100-linux-musl.patch new file mode 100644 index 0000000000..538eccd839 --- /dev/null +++ b/tools/libelf/patches/100-linux-musl.patch @@ -0,0 +1,11 @@ +--- a/config.sub 2022-01-29 02:09:42.943549003 +0000 ++++ b/config.sub 2022-01-29 02:04:23.172378567 +0000 +@@ -118,7 +118,7 @@ + # Here we must recognize all the valid KERNEL-OS combinations. + maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` + case $maybe_os in +- nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ ++ nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | linux-musl | uclinux-uclibc* | uclinux-gnu* | \ + kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) + os=-$maybe_os + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |