distribution/packages/emulators/libretro/stella-2014-lr/patches/stella-2014-01-makefile.patch

20 lines
530 B
Diff
Raw Normal View History

2022-02-05 14:23:32 +00:00
--- a/Makefile
+++ b/Makefile
@@ -83,6 +83,16 @@
fpic += -mmacosx-version-min=10.7
endif
+# EmuELEC for Amlogic devices
+else ifeq ($(platform), emuelec-arm64)
+ TARGET := $(TARGET_NAME)_libretro.so
+ fpic := -fPIC
+ SHARED := -shared -Wl,--version-script=link.T -Wl,--no-undefined
+ CXXFLAGS += -lpthread -DARM64
+ LDFLAGS += -lpthread -static-libgcc -lstdc++
+ ARCH = arm64
+ USE_DYNAREC = 1
+
# iOS
else ifneq (,$(findstring ios,$(platform)))
TARGET := $(TARGET_NAME)_libretro_ios.dylib