use clang

This commit is contained in:
Christopher Lloyd 2013-05-23 21:25:56 -04:00
parent 22514e3a75
commit 107f84c53d

View File

@ -30,6 +30,7 @@ LDFLAGS += -lc -lgcc_s -lm -ldl -lpthread
GCC = $(GCC_DIR)/bin/gcc
USE_CLANG=1
ifdef USE_CLANG
OCC = /usr/bin/clang
CFLAGS += -I $(GCC_LIB_DIR)/gcc/$(shell $(GCC) -dumpmachine)/$(shell $(GCC) -dumpversion)/include