Skip to content

Commit

Permalink
Merge pull request #185 from warmenhoven/warmenhoven/pr/old-ios-tvos
Browse files Browse the repository at this point in the history
ios/tvos: properly set min supported version
  • Loading branch information
drhelius authored Oct 16, 2024
2 parents 045fb2d + 0408b1d commit 9b26a4c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions platforms/libretro/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,10 @@ 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
Expand All @@ -202,6 +206,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)))
Expand Down

0 comments on commit 9b26a4c

Please sign in to comment.