toolchain/gcc: correct the check expr for newer clang
This commit is contained in:
parent
edf7849b0e
commit
91913faeb2
@ -89,7 +89,7 @@ endif
|
||||
|
||||
GCC_CONFIGURE:= \
|
||||
SHELL="$(BASH)" \
|
||||
$(if $(shell gcc --version 2>&1 | grep LLVM), \
|
||||
$(if $(shell gcc --version 2>&1 | grep -E "Apple.(LLVM|clang)"), \
|
||||
CFLAGS="-O2 -fbracket-depth=512 -pipe" \
|
||||
CXXFLAGS="-O2 -fbracket-depth=512 -pipe" \
|
||||
) \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user