config.sub: add linux-mlibc targets

Note: currently, there's no detection method for linux-mlibc in
config.guess, since there's no decided way to detect mlibc.

Signed-off-by: Arsen Arsenović <arsen@aarsen.me>

* config.sub (linux-mlibc*): Recognize.
* testsuite/config-sub.data (aarch64-linux-mlibc, riscv-linux-mlibc,
x86_64-linux-mlibc): New tests.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
This commit is contained in:
Arsen Arsenović
2022-09-17 23:34:48 +02:00
committed by Dmitry V. Levin
parent 9f9f9b0b13
commit c397e2c040
2 changed files with 4 additions and 1 deletions

2
config.sub vendored
View File

@ -1779,7 +1779,7 @@ esac
# (given a valid OS), if there is a kernel.
case $kernel-$os in
linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib* \
| linux-musl* | linux-relibc* | linux-uclibc* )
| linux-musl* | linux-relibc* | linux-uclibc* | linux-mlibc* )
;;
uclinux-uclibc* )
;;