Skip to content

Commit

Permalink
FROM LIBRETRO/warmenhoven ios/tvos: properly set min supported version
Browse files Browse the repository at this point in the history
Signed-off-by: Madeline Mewmews <[email protected]>
  • Loading branch information
MaddieMewmews committed Oct 26, 2024
1 parent 7fd2241 commit bd4db62
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Libretro/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,13 @@ else
CXX = c++ -arch armv7 -isysroot $(IOSSDK)
endif
ifeq ($(platform),$(filter $(platform),ios9 ios-arm64))
CC += -miphoneos-version-min=9.0
CC += -miphoneos-version-min=9.0
CXXFLAGS += -miphoneos-version-min=9.0
LDFLAGS += -miphoneos-version-min=9.0
else
CC += -miphoneos-version-min=9.0
CC += -miphoneos-version-min=9.0
CXXFLAGS += -miphoneos-version-min=9.0
LDFLAGS += -miphoneos-version-min=9.0
endif

else ifeq ($(platform), tvos-arm64)
Expand All @@ -164,8 +166,11 @@ else ifeq ($(platform), tvos-arm64)
ifeq ($(IOSSDK),)
IOSSDK := $(shell xcodebuild -version -sdk appletvos Path)
endif
CC = cc -arch arm64 -isysroot $(IOSSDK)
CC = cc -arch arm64 -isysroot $(IOSSDK)
CXX = c++ -arch arm64 -isysroot $(IOSSDK)
CC += -mappletvos-version-min=11.0
CXXFLAGS += -mappletvos-version-min=11.0
LDFLAGS += -mappletvos-version-min=11.0
else ifneq (,$(findstring qnx,$(platform)))
TARGET := $(TARGET_NAME)_libretro_qnx.so
fpic := -fPIC
Expand Down

0 comments on commit bd4db62

Please sign in to comment.