mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2024-11-23 12:09:51 +00:00
use clang
This commit is contained in:
parent
22514e3a75
commit
107f84c53d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user