Skip to content

Commit

Permalink
Merge pull request #40 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
LibretroAdmin authored Oct 21, 2024
2 parents 068365e + 90fdc63 commit 6bc44a6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions makefile.libretro
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ endif
MINVERSION = -miphoneos-version-min=5.0
endif
CFLAGS += $(MINVERSION)
CXXFLAGS += $(MINVERSION)
LDFLAGS += $(MINVERSION)

else ifeq ($(platform), tvos-arm64)
TARGET := $(TARGET_NAME)_libretro_tvos.dylib
Expand All @@ -129,6 +131,10 @@ ifeq ($(IOSSDK),)
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 ifeq ($(platform), qnx)
TARGET := $(TARGET_NAME)_libretro_$(platform).so
Expand Down

0 comments on commit 6bc44a6

Please sign in to comment.