Merge pull request #203 from warmenhoven/warmenhoven/pr/old-ios-tvos
Some checks failed
CMake Build (Ubuntu aarch64) / build (push) Has been cancelled
CMake Build (Ubuntu x86-64) / build (push) Has been cancelled
CMake Build (Windows x86-64) / build (push) Has been cancelled

ios/tvos: properly set min supported version
This commit is contained in:
LibretroAdmin 2024-10-21 16:49:39 -05:00 committed by GitHub
commit 7a3c11ff97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -149,6 +149,7 @@ else
endif
CFLAGS += $(MINVERSION)
CXXFLAGS += $(MINVERSION)
LDFLAGS += $(MINVERSION)
else ifeq ($(platform), tvos-arm64)
TARGET := $(TARGET_NAME)_libretro_tvos.dylib
@ -163,6 +164,10 @@ 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