ios/tvos: properly set min supported version (#108)

This commit is contained in:
Eric Warmenhoven 2024-10-21 13:02:10 -04:00 committed by GitHub
parent 648bf37e75
commit cf1df09cbf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -129,6 +129,7 @@ else
MINVERSION = -miphoneos-version-min=5.0
endif
PLATFORM_DEFINES := $(MINVERSION) -DIOS
LDFLAGS += $(MINVERSION)
# tvOS
else ifeq ($(platform), tvos-arm64)
@ -147,6 +148,9 @@ else ifeq ($(platform), tvos-arm64)
CXX = c++ -arch arm64 -isysroot $(IOSSDK)
CC_AS = perl ./tools/gas-preprocessor.pl $(CC)
MINVERSION = -mappletvos-version-min=11.0
PLATFORM_DEFINES := $(MINVERSION)
LDFLAGS += $(MINVERSION)
# Theos
else ifeq ($(platform), theos_ios)