projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
toolchain/gcc: correct the check expr for newer clang
[openwrt/openwrt.git]
/
toolchain
/
gcc
/
common.mk
diff --git
a/toolchain/gcc/common.mk
b/toolchain/gcc/common.mk
index f7390c159ec9aec9c0fae01805da54a0e2b40dd2..e2dfcea6cb54eca6328becd1fe47838d8add95b8 100644
(file)
--- a/
toolchain/gcc/common.mk
+++ b/
toolchain/gcc/common.mk
@@
-85,7
+85,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" \
) \