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 <>
parent 77e27e0f
......@@ -89,7 +89,7 @@ endif
$(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" \
) \
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment