(iOS) Add SDK min version flags

This commit is contained in:
twinaphex 2013-11-30 02:00:02 +01:00
parent dacade0113
commit 0b208249df
1 changed files with 3 additions and 3 deletions

View File

@ -28,9 +28,9 @@ else ifeq ($(platform), ios)
fpic := -fPIC
SHARED := -dynamiclib
CC = clang -arch armv7 -isysroot $(IOSSDK)
CXX = clang++ -arch armv7 -isysroot $(IOSSDK)
CXXFLAGS += -DIOS
CC = clang -arch armv7 -isysroot $(IOSSDK) -miphoneos-version-min=5.0
CXX = clang++ -arch armv7 -isysroot $(IOSSDK) -miphoneos-version-min=5.0
CXXFLAGS += -DIOS -miphoneos-version-min=5.0
CXXFLAGS += -DARM
else ifeq ($(platform), qnx)
TARGET := $(TARGET_NAME)_libretro_qnx.so