summaryrefslogtreecommitdiff
path: root/Meta/check-symbols.sh
diff options
context:
space:
mode:
authorJelle Raaijmakers <jelle@gmta.nl>2022-05-16 10:15:43 +0200
committerAndreas Kling <kling@serenityos.org>2022-05-17 00:53:26 +0200
commitb7ffb2bde74900613c8e6c68e033c6ce8cf38364 (patch)
tree7cde2b11d9c0d99319b6d8a124d93ca0f157bd55 /Meta/check-symbols.sh
parent2b764b3594634f1f0b4ee5daefcb91c117bf64a5 (diff)
downloadserenity-b7ffb2bde74900613c8e6c68e033c6ce8cf38364.zip
Meta: Validate explicitly set TOOLCHAIN in `serenity.sh`
Previously, `serenity.sh rebuild-toolchain x86_64 clang` would simply start building GCC instead and call it a day. With this change, if a toolchain is passed as an argument, it is validated if it is either "GNU" or "Clang" and exits with an error otherwise. The `TOOLCHAIN` value defaults to the `SERENITY_TOOLCHAIN` environment variable if not provided explicitly.
Diffstat (limited to 'Meta/check-symbols.sh')
0 files changed, 0 insertions, 0 deletions