From 9d2ce50d2f0cce1ab313845a441fa20c7177c683 Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Fri, 15 May 2020 03:42:56 +0200 Subject: [PATCH] macos: Use SDK path for headers until we have it properly encoded within TCC itself. --- tests/tests2/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/tests2/Makefile b/tests/tests2/Makefile index 13b8c60d..281a8ef4 100644 --- a/tests/tests2/Makefile +++ b/tests/tests2/Makefile @@ -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