Merge pull request #61 from warmenhoven/warmenhoven/pr/old-ios-tvos

ios/tvos: properly set min supported version
This commit is contained in:
LibretroAdmin 2024-10-21 16:39:48 -05:00 committed by GitHub
commit fa3bf50bae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -134,6 +134,8 @@ else ifneq (,$(findstring ios,$(platform)))
MINVERSION = -miphoneos-version-min=5.0
endif
CFLAGS += $(MINVERSION)
CXXFLAGS += $(MINVERSION)
LDFLAGS += $(MINVERSION)
# tvOS
else ifeq ($(platform), tvos-arm64)
@ -146,6 +148,10 @@ else ifeq ($(platform), tvos-arm64)
CFLAGS += -DIOS
CC = cc -arch arm64 -isysroot $(IOSSDK)
CXX = c++ -arch arm64 -isysroot $(IOSSDK)
MINVERSION = -mappletvos-version-min=11.0
CFLAGS += $(MINVERSION)
CXXFLAGS += $(MINVERSION)
LDFLAGS += $(MINVERSION)
# Theos iOS
else ifeq ($(platform), theos_ios)