ios/tvos: properly set min supported version

This commit is contained in:
Eric Warmenhoven 2024-10-14 23:42:51 -04:00
parent b83fe4b699
commit 203e5b2349

View File

@ -247,6 +247,7 @@ else
MINVERSION = -miphoneos-version-min=5.0
endif
PLATFORM_DEFINES := $(MINVERSION)
LDFLAGS += $(MINVERSION)
# tvOS
else ifeq ($(platform), tvos-arm64)
@ -261,6 +262,9 @@ else ifeq ($(platform), tvos-arm64)
CC_AS = perl ./tools/gas-preprocessor.pl $(CC)
CXX = c++ -arch arm64 -isysroot $(IOSSDK)
CFLAGS += -Wno-incompatible-function-pointer-types
MINVERSION = -mappletvos-version-min=11.0
PLATFORM_DEFINES := $(MINVERSION)
LDFLAGS += $(MINVERSION)
# Theos
else ifeq ($(platform), theos_ios)