From b9441e87c26832355b004265b00ac4772bd18876 Mon Sep 17 00:00:00 2001 From: Eric Warmenhoven Date: Wed, 16 Oct 2024 21:35:02 -0400 Subject: [PATCH] tvos: properly set min supported version --- libretro/Makefile.libretro | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libretro/Makefile.libretro b/libretro/Makefile.libretro index bab1b59..6548fd7 100644 --- a/libretro/Makefile.libretro +++ b/libretro/Makefile.libretro @@ -84,9 +84,11 @@ else ifneq (,$(findstring ios,$(platform))) COMMONFLAGS += -DIOS ifeq ($(platform),$(filter $(platform),ios9 ios-arm64)) CC += -miphoneos-version-min=8.0 + CXX += -miphoneos-version-min=8.0 COMMONFLAGS += -miphoneos-version-min=8.0 else CC += -miphoneos-version-min=5.0 + CXX += -miphoneos-version-min=5.0 COMMONFLAGS += -miphoneos-version-min=5.0 endif @@ -101,6 +103,9 @@ else ifeq ($(platform), tvos-arm64) endif CC = clang -arch arm64 -isysroot $(IOSSDK) CXX = clang++ -arch arm64 -isysroot $(IOSSDK) + CC += -mappletvos-version-min=11.0 + CXX += -mappletvos-version-min=11.0 + COMMONFLAGS += -mappletvos-version-min=11.0 else ifeq ($(platform), theos_ios) DEPLOYMENT_IOSVERSION = 5.0