Skip to content
Snippets Groups Projects
Commit 65a561fd authored by Yorkie Liu's avatar Yorkie Liu Committed by Hauke Mehrtens
Browse files

toolchain/gcc: correct the check expr for newer clang


This fixes gcc build error within clang 11.0, it tweaks the version
string from LLVM to clang.

Signed-off-by: default avatarYorkie Liu <yorkiefixer@gmail.com>
parent 77e27e0f
No related branches found
No related tags found
No related merge requests found
......@@ -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" \
) \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment