mirror of
https://github.com/mirror/tinycc.git
synced 2025-03-28 12:10:05 +08:00
macos: Use SDK path for headers
until we have it properly encoded within TCC itself.
This commit is contained in:
parent
6178e47345
commit
9d2ce50d2f
@ -15,6 +15,8 @@ endif
|
|||||||
ifdef CONFIG_OSX
|
ifdef CONFIG_OSX
|
||||||
SKIP += 40_stdio.test 42_function_pointer.test
|
SKIP += 40_stdio.test 42_function_pointer.test
|
||||||
FLAGS += -w
|
FLAGS += -w
|
||||||
|
SDK := `xcrun --show-sdk-path`
|
||||||
|
TCCFLAGS += -I$(SDK)/usr/include
|
||||||
endif
|
endif
|
||||||
ifeq ($(ARCH),x86_64)
|
ifeq ($(ARCH),x86_64)
|
||||||
SKIP += 73_arm64.test
|
SKIP += 73_arm64.test
|
||||||
|
Loading…
Reference in New Issue
Block a user