mirror of https://github.com/snes9xgit/snes9x.git
(tvOS) support building using tvOS SDK
This commit is contained in:
parent
d93d4c95cb
commit
bd9246ddd7
|
@ -198,6 +198,20 @@ else ifneq (,$(findstring ios,$(platform)))
|
||||||
CXXFLAGS += -miphoneos-version-min=5.0
|
CXXFLAGS += -miphoneos-version-min=5.0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
#tvOS
|
||||||
|
else ifeq ($(platform), tvos-arm64)
|
||||||
|
CFLAGS += $(LTO)
|
||||||
|
CXXFLAGS += $(LTO)
|
||||||
|
LDFLAGS += $(LTO)
|
||||||
|
TARGET := $(TARGET_NAME)_libretro_tvos.dylib
|
||||||
|
fpic := -fPIC
|
||||||
|
SHARED := -dynamiclib
|
||||||
|
ifeq ($(IOSSDK),)
|
||||||
|
IOSSDK := $(shell xcodebuild -version -sdk appletvos Path)
|
||||||
|
endif
|
||||||
|
CXXFLAGS += -DIOS
|
||||||
|
CXXFLAGS += -DARM
|
||||||
|
|
||||||
# Theos
|
# Theos
|
||||||
else ifeq ($(platform), theos_ios)
|
else ifeq ($(platform), theos_ios)
|
||||||
CFLAGS += $(LTO)
|
CFLAGS += $(LTO)
|
||||||
|
|
Loading…
Reference in New Issue