diff options
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/gcc/common.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk index fb60e57c73..0b7e5f468e 100644 --- a/toolchain/gcc/common.mk +++ b/toolchain/gcc/common.mk @@ -96,7 +96,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" \ ) \ |