mirror of
https://github.com/frida/tinycc
synced 2024-11-23 16:19:35 +03:00
macos: Add system include dir for building libs
we use xcrun to determine the correct path. In the future those should be determined at configure time or even runtime of tcc itself.
This commit is contained in:
parent
4cc27b816f
commit
34a5658564
@ -17,6 +17,10 @@ XFLAGS = $(XFLAGS$(XCFG)) -I$(TOP)
|
||||
XCFG = $(or $(findstring -win,$T),-unx)
|
||||
S = $(if $(findstring yes,$(SILENT)),@$(info * $@))
|
||||
|
||||
ifdef CONFIG_OSX
|
||||
XFLAGS += -I`xcrun --show-sdk-path`/usr/include
|
||||
endif
|
||||
|
||||
# in order to use gcc, type: make <target>-libtcc1-usegcc=yes
|
||||
arm-libtcc1-usegcc ?= no
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user