ref: f8b0cec68d8b1321db6e251e5b87ceb50548377b
dir: /build/platform-ios.mk/
include build/platform-darwin.mk CXX = clang++ CC = clang SDK = 7.0 ifneq ($(filter %86 x86_64, $(ARCH)),) SDKTYPE = iPhoneSimulator else SDKTYPE = iPhoneOS endif SDK_MIN = 5.1 SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/$(SDKTYPE).platform/Developer/SDKs/$(SDKTYPE)$(SDK).sdk CFLAGS += -arch $(ARCH) -isysroot $(SDKROOT) -miphoneos-version-min=$(SDK_MIN) LDFLAGS += -arch $(ARCH) -isysroot $(SDKROOT) -miphoneos-version-min=$(SDK_MIN)