Use clang if available

This commit is contained in:
QC 2014-02-05 20:42:54 +01:00
parent faab271283
commit 510e56c984
1 changed files with 8 additions and 0 deletions

View File

@ -44,6 +44,14 @@ CFLAGS+=-D__QC_MODE__
endif
CLANG=$(shell which clang)
ifneq (${CLANG},${EMPTY})
$(info Using clang compiler: ${CLANG})
CC=${CLANG}
endif
##
# Check dependencies
##