(tvOS) Compile using tvOS SDK

This commit is contained in:
Yoshi Sugawara 2019-09-02 15:59:57 -10:00
parent 19aed0288d
commit 8acc14cf34
1 changed files with 12 additions and 0 deletions

View File

@ -140,6 +140,18 @@ else
CFLAGS += -miphoneos-version-min=5.0
endif
# tvOS
else ifeq ($(platform), tvos-arm64)
TARGET := $(TARGET_NAME)_libretro_tvos.dylib
fpic := -fPIC
SHARED := -dynamiclib
CPU_ARCH := arm
CFLAGS += -DIOS -DHAVE_POSIX_MEMALIGN -marm
ifeq ($(IOSSDK),)
IOSSDK := $(shell xcodebuild -version -sdk appletvos Path)
endif
# iOS Theos
else ifeq ($(platform), theos_ios)
DEPLOYMENT_IOSVERSION = 5.0