diff options
author | twinaphex | 2015-10-16 03:04:06 +0200 |
---|---|---|
committer | twinaphex | 2015-10-16 03:04:06 +0200 |
commit | 98d327daa55ca00aa012c36b7fb5073dfce89bac (patch) | |
tree | 27b9f6d8973d9dca9291e1b5cd36f6dcdfe19284 /Makefile | |
parent | a93bb43bc84cbc8e81c13cf3428d9f2a501c0c8e (diff) | |
download | picogpsp-98d327daa55ca00aa012c36b7fb5073dfce89bac.tar.gz picogpsp-98d327daa55ca00aa012c36b7fb5073dfce89bac.tar.bz2 picogpsp-98d327daa55ca00aa012c36b7fb5073dfce89bac.zip |
Add iOS 9 rules
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -111,7 +111,8 @@ else ifeq ($(platform), osx) endif # iOS -else ifeq ($(platform), ios) +else ifneq (,$(findstring ios,$(platform))) + TARGET := $(TARGET_NAME)_libretro_ios.dylib fpic := -fPIC SHARED := -dynamiclib @@ -121,14 +122,15 @@ else ifeq ($(platform), ios) IOSSDK := $(shell xcodebuild -version -sdk iphoneos Path) endif - CC = clang -arch armv7 -isysroot $(IOSSDK) + CC = cc -arch armv7 -isysroot $(IOSSDK) CFLAGS += -DIOS -DHAVE_POSIX_MEMALIGN -marm - OSXVER = `sw_vers -productVersion | cut -d. -f 2` - OSX_LT_MAVERICKS = `(( $(OSXVER) <= 9)) && echo "YES"` - ifeq ($(OSX_LT_MAVERICKS),"YES") - CC += -miphoneos-version-min=5.0 - CFLAGS += -miphoneos-version-min=5.0 - endif +ifeq ($(platform),ios9) + CC += -miphoneos-version-min=8.0 + CFLAGS += -miphoneos-version-min=8.0 +else + CC += -miphoneos-version-min=5.0 + CFLAGS += -miphoneos-version-min=5.0 +endif # iOS Theos else ifeq ($(platform), theos_ios) |