ios/tvos: properly set min supported version (#194)
Some checks failed
Crowdin Translation Integration / create_intl_file (push) Has been cancelled

This commit is contained in:
Eric Warmenhoven 2024-10-21 17:48:39 -04:00 committed by GitHub
parent 0b43954c75
commit d25ccfb973
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -120,8 +120,10 @@ endif
ifeq ($(platform),$(filter $(platform),ios9 ios-arm64))
CFLAGS += -miphoneos-version-min=8.0
LDFLAGS += -miphoneos-version-min=8.0
else
CFLAGS += -miphoneos-version-min=5.0
LDFLAGS += -miphoneos-version-min=5.0
endif
# tvOS
@ -137,6 +139,8 @@ ifeq ($(IOSSDK),)
endif
CC = clang -arch arm64 -isysroot $(IOSSDK)
CXX = clang++ -arch arm64 -isysroot $(IOSSDK)
CFLAGS += -mappletvos-version-min=11.0
LDFLAGS += -mappletvos-version-min=11.0
else ifeq ($(platform), theos_ios)
# Theos iOS