mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-15 23:37:32 +03:00
Meta: Do not spam "<compiler-name>: command not found"
In bd7d01e9
, Meta/serenity.sh started checking cc and cxx if CC or CXX
respectively are not set in the environment. My machine does not have
cxx symlink in PATH, so every invocation of the script resulted in
the "cxx: command not found" message outputted to stderr, and that
became quite annoying.
This commit is contained in:
parent
b49f2937f0
commit
9b7aa8f6b6
Notes:
sideshowbarker
2024-07-16 23:03:06 +09:00
Author: https://github.com/DanShaders Commit: https://github.com/SerenityOS/serenity/commit/9b7aa8f6b6 Pull-request: https://github.com/SerenityOS/serenity/pull/21003
@ -9,7 +9,7 @@ is_supported_compiler() {
|
||||
fi
|
||||
|
||||
local VERSION=""
|
||||
VERSION="$($COMPILER -dumpversion)" || return 1
|
||||
VERSION="$($COMPILER -dumpversion 2> /dev/null)" || return 1
|
||||
local MAJOR_VERSION=""
|
||||
MAJOR_VERSION="${VERSION%%.*}"
|
||||
if $COMPILER --version 2>&1 | grep "Apple clang" >/dev/null; then
|
||||
|
Loading…
Reference in New Issue
Block a user