mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:27:34 +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
1 changed files with 4 additions and 0 deletions
|
@ -93,6 +93,10 @@ case "$1" in
|
||||||
TOOLCHAIN_TYPE="$1"; shift
|
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"
|
TOOLCHAIN_TYPE="GNU"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue