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)