2023-07-19 15:40:20 +00:00
|
|
|
diff --git a/Makefile b/Makefile
|
|
|
|
index c52b50b..5e7f2ec 100644
|
|
|
|
--- a/Makefile
|
|
|
|
+++ b/Makefile
|
2023-07-19 23:59:56 +00:00
|
|
|
@@ -289,6 +289,17 @@ else ifeq ($(platform), rpi1)
|
2023-07-19 15:40:20 +00:00
|
|
|
MMAP_JIT_CACHE = 1
|
|
|
|
HAVE_DYNAREC = 1
|
|
|
|
|
2023-07-19 23:59:56 +00:00
|
|
|
+# @DEVICE@
|
|
|
|
+else ifeq ($(platform), @DEVICE@)
|
|
|
|
+ CPUFLAGS := -marm -march=armv8-a+crc+simd -mtune=@TARGET_CPU@ -mfpu=neon-fp-armv8 -mfloat-abi=hard -flto
|
2023-07-19 15:40:20 +00:00
|
|
|
+ CFLAGS := $(CPUFLAGS) -fpic -ffast-math -fno-rtti -fno-exceptions
|
|
|
|
+ TARGET := $(TARGET_NAME)_libretro.so
|
|
|
|
+ fpic := -fPIC
|
|
|
|
+ SHARED := -shared -Wl,--version-script=link.T -Wl,--no-undefined
|
|
|
|
+ CPU_ARCH := arm
|
|
|
|
+ MMAP_JIT_CACHE = 1
|
|
|
|
+ HAVE_DYNAREC = 1
|
|
|
|
+
|
|
|
|
# Classic Platforms ####################
|
|
|
|
# Platform affix = classic_<ISA>_<µARCH>
|
|
|
|
# Help at https://modmyclassic.com/comp
|