mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-26 09:06:38 +12:00
config.sub: add LLVM-libc support
* config.sub (*-linux-llvm): Recognize. * doc/config.sub.1: Regenerate. * testsuite/config-sub.data: Add x86_64-linux-llvm. Signed-off-by: Alfred Persson Forsberg <cat@catcream.org> Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
This commit is contained in:
parent
28ea239c53
commit
5b83c2ff5d
12
config.sub
vendored
12
config.sub
vendored
@ -4,7 +4,7 @@
|
||||
|
||||
# shellcheck disable=SC2006,SC2268 # see below for rationale
|
||||
|
||||
timestamp='2023-09-19'
|
||||
timestamp='2023-10-19'
|
||||
|
||||
# This file is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
@ -1721,7 +1721,7 @@ fi
|
||||
|
||||
case $os in
|
||||
# Sometimes we do "kernel-libc", so those need to count as OSes.
|
||||
musl* | newlib* | relibc* | uclibc*)
|
||||
llvm* | musl* | newlib* | relibc* | uclibc*)
|
||||
;;
|
||||
# Likewise for "kernel-abi"
|
||||
eabi* | gnueabi*)
|
||||
@ -1818,8 +1818,9 @@ esac
|
||||
# As a final step for OS-related things, validate the OS-kernel combination
|
||||
# (given a valid OS), if there is a kernel.
|
||||
case $kernel-$os-$obj in
|
||||
linux-gnu*- | linux-dietlibc*- | linux-android*- | linux-newlib*- \
|
||||
| linux-musl*- | linux-relibc*- | linux-uclibc*- | linux-mlibc*- )
|
||||
linux-gnu*- | linux-android*- | linux-dietlibc*- | linux-llvm*- \
|
||||
| linux-mlibc*- | linux-musl*- | linux-newlib*- \
|
||||
| linux-relibc*- | linux-uclibc*- )
|
||||
;;
|
||||
uclinux-uclibc*- )
|
||||
;;
|
||||
@ -1827,7 +1828,8 @@ case $kernel-$os-$obj in
|
||||
;;
|
||||
windows*-msvc*-)
|
||||
;;
|
||||
-dietlibc*- | -newlib*- | -musl*- | -relibc*- | -uclibc*- | -mlibc*- )
|
||||
-dietlibc*- | -llvm*- | -mlibc*- | -musl*- | -newlib*- | -relibc*- \
|
||||
| -uclibc*- )
|
||||
# These are just libc implementations, not actual OSes, and thus
|
||||
# require a kernel.
|
||||
echo "Invalid configuration '$1': libc '$os' needs explicit kernel." 1>&2
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5.
|
||||
.TH CONFIG.SUB "1" "September 2023" "GNU config.sub (2023-09-19)" "User Commands"
|
||||
.TH CONFIG.SUB "1" "October 2023" "GNU config.sub (2023-10-19)" "User Commands"
|
||||
.SH NAME
|
||||
config.sub \- validate and canonicalize a configuration triplet
|
||||
.SH SYNOPSIS
|
||||
|
@ -881,6 +881,7 @@ x86_64-ericsson-dicos x86_64-ericsson-dicos
|
||||
x86_64-fuchsia x86_64-pc-fuchsia
|
||||
x86_64-genode x86_64-pc-genode
|
||||
x86_64-glidix x86_64-pc-glidix
|
||||
x86_64-linux-llvm x86_64-pc-linux-llvm
|
||||
x86_64-linux-mlibc x86_64-pc-linux-mlibc
|
||||
x86_64-linux-relibc x86_64-pc-linux-relibc
|
||||
x86_64-managarm x86_64-pc-managarm-mlibc
|
||||
|
Loading…
x
Reference in New Issue
Block a user