aboutsummaryrefslogtreecommitdiff
path: root/Makefile.libretro
diff options
context:
space:
mode:
authortwinaphex2015-10-15 16:34:45 +0200
committertwinaphex2015-10-15 16:34:45 +0200
commit5c166f3762810e337ee65c411fcd5f787097ff1e (patch)
tree580ed4baf00737fb0b0ae2b12334e27b86ed9029 /Makefile.libretro
parente3d47665c61a78fd8d48cc53e1e887251191fa8b (diff)
downloadpcsx_rearmed-5c166f3762810e337ee65c411fcd5f787097ff1e.tar.gz
pcsx_rearmed-5c166f3762810e337ee65c411fcd5f787097ff1e.tar.bz2
pcsx_rearmed-5c166f3762810e337ee65c411fcd5f787097ff1e.zip
Update iOS rules
Diffstat (limited to 'Makefile.libretro')
-rw-r--r--Makefile.libretro21
1 files changed, 12 insertions, 9 deletions
diff --git a/Makefile.libretro b/Makefile.libretro
index b7cc496..2b2a362 100644
--- a/Makefile.libretro
+++ b/Makefile.libretro
@@ -52,7 +52,7 @@ else ifeq ($(platform), osx)
fpic += -mmacosx-version-min=10.1
# iOS
-else ifeq ($(platform), ios)
+else ifneq (,$(findstring ios,$(platform)))
ARCH := arm
USE_DYNAREC ?= 1
TARGET := $(TARGET_NAME)_libretro_ios.dylib
@@ -75,14 +75,17 @@ endif
HAVE_NEON = 1
BUILTIN_GPU = neon
CFLAGS += -DIOS
- 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
- CXX += -miphoneos-version-min=5.0
- CC_AS += -miphoneos-version-min=5.0
- CFLAGS += -miphoneos-version-min=5.0
- endif
+ifeq ($(platform),ios9)
+ CC += -miphoneos-version-min=8.0
+ CXX += -miphoneos-version-min=8.0
+ CC_AS += -miphoneos-version-min=8.0
+ CFLAGS += -miphoneos-version-min=8.0
+else
+ CC += -miphoneos-version-min=5.0
+ CXX += -miphoneos-version-min=5.0
+ CC_AS += -miphoneos-version-min=5.0
+ CFLAGS += -miphoneos-version-min=5.0
+endif
# PS3
else ifeq ($(platform), ps3)