mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-20 11:36:10 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue