Skip to content

Commit

Permalink
ios/tvos: properly set min supported version (#362)
Browse files Browse the repository at this point in the history
  • Loading branch information
warmenhoven authored Oct 21, 2024
1 parent 7975c0e commit 7b57513
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile.libretro
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,9 @@ 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)
Expand All @@ -281,6 +284,11 @@ else ifeq ($(platform), tvos-arm64)
CC = cc -arch arm64 -isysroot $(IOSSDK)
CXX = c++ -arch arm64 -isysroot $(IOSSDK)
MAX_ROM_SIZE = 33554432
MINVERSION = -mappletvos-version-min=11.0
PLATFORM_DEFINES += $(MINVERSION)
CFLAGS += $(MINVERSION)
CXXFLAGS += $(MINVERSION)
LDFLAGS += $(MINVERSION)

# Theos
else ifeq ($(platform), theos_ios)
Expand Down

0 comments on commit 7b57513

Please sign in to comment.