ios/tvos: properly set min supported version

This commit is contained in:
Eric Warmenhoven 2024-10-16 17:20:35 -04:00
parent 91db6be681
commit 1fe14ebcf2

View File

@ -171,6 +171,7 @@ else
endif
CFLAGS += $(MINVERSION)
CXXFLAGS += $(MINVERSION)
LDFLAGS += $(MINVERSION)
else ifeq ($(platform), tvos-arm64)
TARGET := $(TARGET_NAME)_libretro_tvos.dylib
@ -183,6 +184,10 @@ ifeq ($(IOSSDK),)
endif
CC = cc -arch arm64 -isysroot $(IOSSDK)
CXX = c++ -arch arm64 -isysroot $(IOSSDK)
MINVERSION = -mappletvos-version-min=11.0
CFLAGS += $(MINVERSION)
CXXFLAGS += $(MINVERSION)
LDFLAGS += $(MINVERSION)
else ifneq (,$(findstring qnx,$(platform)))
TARGET := $(TARGET_NAME)_libretro_qnx.so