Merge pull request #127 from yoshisuga/tvos_support

(tvOS) Compile using tvOS SDK
This commit is contained in:
Twinaphex authored and GitHub committed 2019-09-02 02:50:39 +02:00
commit da44601ad2
1 file changed
+10
+10
View File
@@ -101,6 +101,16 @@ else ifneq (,$(findstring ios,$(platform)))
CC += -miphoneos-version-min=5.0
COMMONFLAGS += -miphoneos-version-min=5.0
endif
else ifeq ($(platform), tvos-arm64)
TARGET := $(TARGET_NAME)_libretro_tvos.dylib
COMMONFLAGS += -DHAVE_POSIX_MEMALIGN=1 -marm
fpic = -fPIC
LDFLAGS += -dynamiclib
ifeq ($(IOSSDK),)
IOSSDK := $(shell xcodebuild -version -sdk appletvos Path)
endif
COMMONFLAGS += -DIOS
else ifeq ($(platform), psp1)
TARGET := $(TARGET_NAME)_libretro_$(platform).a
CC = psp-gcc$(EXE_EXT)