mirror of https://github.com/stella-emu/stella.git
ios/tvos: properly set min supported version (#1048)
This commit is contained in:
parent
62ca90a784
commit
50f69d82fe
|
@ -138,7 +138,9 @@ else ifneq (,$(findstring ios,$(platform)))
|
||||||
else
|
else
|
||||||
MINVERSION = -miphoneos-version-min=5.0
|
MINVERSION = -miphoneos-version-min=5.0
|
||||||
endif
|
endif
|
||||||
|
CFLAGS += $(MINVERSION)
|
||||||
CXXFLAGS += $(MINVERSION)
|
CXXFLAGS += $(MINVERSION)
|
||||||
|
LDFLAGS += $(MINVERSION)
|
||||||
|
|
||||||
# tvOS
|
# tvOS
|
||||||
else ifeq ($(platform), tvos-arm64)
|
else ifeq ($(platform), tvos-arm64)
|
||||||
|
@ -155,6 +157,10 @@ else ifeq ($(platform), tvos-arm64)
|
||||||
|
|
||||||
CC = cc -arch arm64 -isysroot $(IOSSDK)
|
CC = cc -arch arm64 -isysroot $(IOSSDK)
|
||||||
CXX = c++ -arch arm64 -isysroot $(IOSSDK)
|
CXX = c++ -arch arm64 -isysroot $(IOSSDK)
|
||||||
|
MINVERSION = -mappletvos-version-min=11.0
|
||||||
|
CFLAGS += $(MINVERSION)
|
||||||
|
CXXFLAGS += $(MINVERSION)
|
||||||
|
LDFLAGS += $(MINVERSION)
|
||||||
|
|
||||||
# Nintendo Switch (libnx)
|
# Nintendo Switch (libnx)
|
||||||
else ifeq ($(platform), libnx)
|
else ifeq ($(platform), libnx)
|
||||||
|
|
Loading…
Reference in New Issue