Skip to content

Commit

Permalink
ios/tvos: properly set min supported version (#1048)
Browse files Browse the repository at this point in the history
  • Loading branch information
warmenhoven authored Oct 21, 2024
1 parent 62ca90a commit 50f69d8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/os/libretro/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 50f69d8

Please sign in to comment.