mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:44:58 +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
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
Add a link
Reference in a new issue