From 50f69d82fe99bce8665b70cfd621dcd450922741 Mon Sep 17 00:00:00 2001 From: Eric Warmenhoven Date: Mon, 21 Oct 2024 11:30:52 -0400 Subject: [PATCH] ios/tvos: properly set min supported version (#1048) --- src/os/libretro/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/os/libretro/Makefile b/src/os/libretro/Makefile index 931eb3399..ea539c91b 100644 --- a/src/os/libretro/Makefile +++ b/src/os/libretro/Makefile @@ -138,7 +138,9 @@ else ifneq (,$(findstring ios,$(platform))) else MINVERSION = -miphoneos-version-min=5.0 endif + CFLAGS += $(MINVERSION) CXXFLAGS += $(MINVERSION) + LDFLAGS += $(MINVERSION) # tvOS else ifeq ($(platform), tvos-arm64) @@ -155,6 +157,10 @@ else ifeq ($(platform), tvos-arm64) CC = cc -arch arm64 -isysroot $(IOSSDK) CXX = c++ -arch arm64 -isysroot $(IOSSDK) + MINVERSION = -mappletvos-version-min=11.0 + CFLAGS += $(MINVERSION) + CXXFLAGS += $(MINVERSION) + LDFLAGS += $(MINVERSION) # Nintendo Switch (libnx) else ifeq ($(platform), libnx)