Lines Matching refs:CLANG
256 if [ "$PREFIX" = "${PREFIX%clang}" ]; then
291 # Test Clang
292 # Remove clang or clang++ from prefix if any
293 PREFIX=${PREFIX%clang}
294 PREFIX=${PREFIX%clang++}
296 CLANG=${PREFIX}clang
297 if [ ! -f "$CLANG" ]; then
298 panic "Missing compiler, please fix your prefix definition: $CLANG"
301 CLANGDIR=$(dirname "$CLANG")
302 CLANGBASE=$(basename "$CLANG")
305 CLANG=$CLANGDIR/$CLANGBASE
307 PREFIX=${CLANG%%clang}
313 panic "Missing linker in the same directory as clang/clang++: $CLANGDIR"
318 CC=$CLANG
319 CXX=${CLANG%clang}clang++
320 CC_TARGET=$($CLANG -v 2>&1 | grep Target:)