ios/tvos: properly set min supported version

This commit is contained in:
Eric Warmenhoven 2024-10-21 12:45:59 -04:00
parent 2c726f25da
commit 27a8380022

View File

@ -249,6 +249,7 @@ else
endif endif
CFLAGS += $(MINVERSION) CFLAGS += $(MINVERSION)
CXXFLAGS += $(MINVERSION) CXXFLAGS += $(MINVERSION)
LDFLAGS += $(MINVERSION)
TILED_RENDERING=1 TILED_RENDERING=1
else ifeq ($(platform), tvos-arm64) else ifeq ($(platform), tvos-arm64)
@ -265,6 +266,10 @@ endif
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)
# Theos iOS # Theos iOS
else ifeq ($(platform), theos_ios) else ifeq ($(platform), theos_ios)