mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 03:55:24 +00:00
Meta: Warn on rebuild-toolchain i686 clang
It's "Clang" (capitalized). Silently building gcc if the toolchain isn't know seems a bit unfriendly. So print a warning for this (and for other unknown toolchains).
This commit is contained in:
parent
eb774aadbf
commit
a7b558bf7d
Notes:
sideshowbarker
2024-07-18 08:59:31 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/a7b558bf7da Pull-request: https://github.com/SerenityOS/serenity/pull/10388
1 changed files with 4 additions and 0 deletions
|
@ -93,6 +93,10 @@ case "$1" in
|
|||
TOOLCHAIN_TYPE="$1"; shift
|
||||
;;
|
||||
*)
|
||||
if [ -n "$1" ]; then
|
||||
echo "WARNING: unknown toolchain '$1'. Defaulting to GNU."
|
||||
echo " Valid values are 'Clang', 'GNU' (default)"
|
||||
fi
|
||||
TOOLCHAIN_TYPE="GNU"
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Reference in a new issue