From 982f769fc438a8b26531cc40296d62fe076b33f3 Mon Sep 17 00:00:00 2001 From: Eric Warmenhoven Date: Tue, 15 Oct 2024 20:26:00 -0400 Subject: [PATCH] ios/tvos: properly set min supported version --- platforms/libretro/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/platforms/libretro/Makefile b/platforms/libretro/Makefile index 8a265879..9d00d60f 100644 --- a/platforms/libretro/Makefile +++ b/platforms/libretro/Makefile @@ -191,6 +191,9 @@ else ifneq (,$(findstring ios,$(platform))) MINVERSION = -miphoneos-version-min=5.0 endif PLATFORM_DEFINES := $(MINVERSION) + CFLAGS += $(MINVERSION) + CXXFLAGS += $(MINVERSION) + LDFLAGS += $(MINVERSION) # tvOS else ifeq ($(platform), tvos-arm64) TARGET := $(TARGET_NAME)_libretro_tvos.dylib @@ -202,6 +205,11 @@ else ifeq ($(platform), tvos-arm64) CC = cc -arch arm64 -isysroot $(IOSSDK) CXX = c++ -arch arm64 -isysroot $(IOSSDK) + MINVERSION = -mappletvos-version-min=11.0 + PLATFORM_DEFINES := $(MINVERSION) + CFLAGS += $(MINVERSION) + CXXFLAGS += $(MINVERSION) + LDFLAGS += $(MINVERSION) # QNX else ifneq (,$(findstring qnx,$(platform)))