Skip to content

Commit

Permalink
Merge pull request #35 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 a0cec54 + a5a4720 commit 0a0af28
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion makefile.libretro
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,14 @@ 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
fpic := -fPIC
SHARED := -dynamiclib
MINVERSION :=
MINVERSION := -mappletvos-version-min=11.0

ifeq ($(IOSSDK),)
IOSSDK = $(shell xcodebuild -version -sdk appletvos Path)
Expand All @@ -135,6 +137,8 @@ endif
CXX = c++ -arch arm64 -isysroot $(IOSSDK)
CFLAGS += -DIOS
CFLAGS += $(MINVERSION)
CXXFLAGS += $(MINVERSION)
LDFLAGS += $(MINVERSION)

else ifeq ($(platform), qnx)
TARGET := $(TARGET_NAME)_libretro_$(platform).so
Expand Down

0 comments on commit 0a0af28

Please sign in to comment.