diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2018-10-13 15:13:37 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2018-10-13 15:13:37 -0700 |
commit | c935a078d356d00f98bb418b44feaaaccf780210 (patch) | |
tree | 0929aa1610ef4a5d1eb9d5e270f182530e367128 /makefile | |
parent | 252f30db1bdb676fa6b5bdc3a664541582c78b3a (diff) |
On new Xcode/macOS, /usr/include no longer exists.
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -13,8 +13,10 @@ gxx := $(shell xcrun --sdk iphoneos -f g++) cycc := $(gxx) sdk := $(shell xcodebuild -sdk iphoneos -version Path) +mac := $(shell xcodebuild -sdk macosx -version Path) + cycc += -isysroot $(sdk) -cycc += -idirafter /usr/include +cycc += -idirafter $(mac)/usr/include cycc += -F$(sdk)/System/Library/PrivateFrameworks cycc += -fmessage-length=0 |