diff options
author | Yoshi Sugawara | 2017-09-29 06:00:04 -1000 |
---|---|---|
committer | Yoshi Sugawara | 2017-09-29 06:00:04 -1000 |
commit | 60c1b5491c5ce14340fedb07f8b293cb5a0265ab (patch) | |
tree | 115c03f476f78168cda0beb70c9ab94f487965ae /Makefile | |
parent | 7e144b4b033fcb50440311a982892fa352abe121 (diff) | |
download | snesemu-60c1b5491c5ce14340fedb07f8b293cb5a0265ab.tar.gz snesemu-60c1b5491c5ce14340fedb07f8b293cb5a0265ab.tar.bz2 snesemu-60c1b5491c5ce14340fedb07f8b293cb5a0265ab.zip |
support for iOS arm64 build
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -84,9 +84,15 @@ ifeq ($(IOSSDK),) IOSSDK := $(shell xcodebuild -version -sdk iphoneos Path) endif +ifeq ($(platform),ios-arm64) + CC = cc -arch arm64 -isysroot $(IOSSDK) + CXX = c++ -arch arm64 -isysroot $(IOSSDK) +else CC = cc -arch armv7 -isysroot $(IOSSDK) CXX = c++ -arch armv7 -isysroot $(IOSSDK) -ifeq ($(platform),ios9) +endif + +ifeq ($(platform),$(filter $(platform),ios9 ios-arm64)) SHARED += -miphoneos-version-min=8.0 CC += -miphoneos-version-min=8.0 CXX += -miphoneos-version-min=8.0 |