Skip to content

Commit

Permalink
Meta/serenity.sh: Transform clang to Clang
Browse files Browse the repository at this point in the history
The `clang` is usually coming from the tasks.json file.
  • Loading branch information
tbhaxor committed Sep 16, 2024
1 parent 92192d5 commit b94c173
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Meta/serenity.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ if [ "$TARGET" != "lagom" ] && [ -n "$1" ]; then
else
TOOLCHAIN_TYPE="${SERENITY_TOOLCHAIN:-"GNU"}"
fi
[[ "${TOOLCHAIN_TYPE}" = "clang" ]] && TOOLCHAIN_TYPE='Clang'
if ! [[ "${TOOLCHAIN_TYPE}" =~ ^(GNU|Clang)$ ]]; then
>&2 echo "ERROR: unknown toolchain '${TOOLCHAIN_TYPE}'."
exit 1
Expand Down

0 comments on commit b94c173

Please sign in to comment.