Skip to content

Commit

Permalink
ios/tvos: properly set min supported version
Browse files Browse the repository at this point in the history
  • Loading branch information
warmenhoven committed Oct 15, 2024
1 parent b83fe4b commit 203e5b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile.libretro
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ else
MINVERSION = -miphoneos-version-min=5.0
endif
PLATFORM_DEFINES := $(MINVERSION)
LDFLAGS += $(MINVERSION)

# tvOS
else ifeq ($(platform), tvos-arm64)
Expand All @@ -261,6 +262,9 @@ else ifeq ($(platform), tvos-arm64)
CC_AS = perl ./tools/gas-preprocessor.pl $(CC)
CXX = c++ -arch arm64 -isysroot $(IOSSDK)
CFLAGS += -Wno-incompatible-function-pointer-types
MINVERSION = -mappletvos-version-min=11.0
PLATFORM_DEFINES := $(MINVERSION)
LDFLAGS += $(MINVERSION)

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

0 comments on commit 203e5b2

Please sign in to comment.