diff options
author | Twinaphex | 2017-09-29 19:17:09 +0200 |
---|---|---|
committer | GitHub | 2017-09-29 19:17:09 +0200 |
commit | fe24f89f471b6c8d74948f56a387906c29eceb80 (patch) | |
tree | 9c38aeeb0a4762fc7e7155f0b5b74d6e7217a5ef /Makefile | |
parent | 04c179c85e266cb60c1135eb6c9cc6e7af2bb8de (diff) | |
parent | afb8f91a4ff0dc8977d08c99f612f698e3e083cb (diff) | |
download | snes9x2002-fe24f89f471b6c8d74948f56a387906c29eceb80.tar.gz snes9x2002-fe24f89f471b6c8d74948f56a387906c29eceb80.tar.bz2 snes9x2002-fe24f89f471b6c8d74948f56a387906c29eceb80.zip |
Merge pull request #19 from yoshisuga/master
support for iOS arm64 build
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -30,12 +30,18 @@ else ifneq (,$(findstring ios,$(platform))) ifeq ($(IOSSDK),) IOSSDK := $(shell xcodebuild -version -sdk iphoneos Path) endif - CC = cc -arch armv7 -isysroot $(IOSSDK) - CXX = c++ -arch armv7 -isysroot $(IOSSDK) + + 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) + endif ARM_ASM = 0 ASM_CPU = 0 ASM_SPC700 = 0 - ifeq ($(platform),ios9) + ifeq ($(platform),$(filter $(platform),ios9 ios-arm64)) CC += -miphoneos-version-min=8.0 CXX += -miphoneos-version-min=8.0 PLATFORM_DEFINES := -miphoneos-version-min=8.0 |