mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 05:25:32 +03: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: https://github.com/SerenityOS/serenity/commit/688599af57 Pull-request: https://github.com/SerenityOS/serenity/pull/24348 Reviewed-by: https://github.com/ADKaster ✅
@ -19,7 +19,7 @@ is_supported_compiler() {
|
||||
[ "$BUILD_VERSION" -ge 14030022 ] && return 0
|
||||
elif $COMPILER --version 2>&1 | grep "clang" >/dev/null; then
|
||||
# Clang version check
|
||||
[ "$MAJOR_VERSION" -ge 15 ] && return 0
|
||||
[ "$MAJOR_VERSION" -ge 17 ] && return 0
|
||||
else
|
||||
# GCC version check
|
||||
[ "$MAJOR_VERSION" -ge 12 ] && return 0
|
||||
|
Loading…
Reference in New Issue
Block a user