macos: Use SDK path for headers

until we have it properly encoded within TCC itself.
This commit is contained in:
Michael Matz 2020-05-15 03:42:56 +02:00
parent 6178e47345
commit 9d2ce50d2f

View File

@ -15,6 +15,8 @@ endif
ifdef CONFIG_OSX
SKIP += 40_stdio.test 42_function_pointer.test
FLAGS += -w
SDK := `xcrun --show-sdk-path`
TCCFLAGS += -I$(SDK)/usr/include
endif
ifeq ($(ARCH),x86_64)
SKIP += 73_arm64.test