mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 09:34:57 +09:00
Meta: Update check for clang's major version
We require clang-17 as of 76df5ae030
, but
this check was not updated.
This commit is contained in:
parent
26cff62a0a
commit
688599af57
Notes:
sideshowbarker
2024-07-17 03:59:29 +09:00
Author: https://github.com/trflynn89
Commit: 688599af57
Pull-request: https://github.com/SerenityOS/serenity/pull/24348
Reviewed-by: https://github.com/ADKaster ✅
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ is_supported_compiler() {
|
||||||
[ "$BUILD_VERSION" -ge 14030022 ] && return 0
|
[ "$BUILD_VERSION" -ge 14030022 ] && return 0
|
||||||
elif $COMPILER --version 2>&1 | grep "clang" >/dev/null; then
|
elif $COMPILER --version 2>&1 | grep "clang" >/dev/null; then
|
||||||
# Clang version check
|
# Clang version check
|
||||||
[ "$MAJOR_VERSION" -ge 15 ] && return 0
|
[ "$MAJOR_VERSION" -ge 17 ] && return 0
|
||||||
else
|
else
|
||||||
# GCC version check
|
# GCC version check
|
||||||
[ "$MAJOR_VERSION" -ge 12 ] && return 0
|
[ "$MAJOR_VERSION" -ge 12 ] && return 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue