blob: 8cc40f92125ba803e4b0e4235a37c13bda0bcddd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
diff --git a/Makefile b/Makefile
index 2405fd3..a075991 100644
--- a/Makefile
+++ b/Makefile
@@ -383,6 +383,20 @@ else ifeq ($(platform), miyoo)
PLATFORM_DEFINES += -O3 -fomit-frame-pointer -march=armv5te -mtune=arm926ej-s -ffast-math
CXXFLAGS += -fno-rtti -fno-exceptions
+# TRIMUI
+else ifeq ($(platform), trimui)
+ TARGET := $(TARGET_NAME)_libretro.so
+ CC = $(CROSS_COMPILE)gcc
+ CXX = $(CROSS_COMPILE)g++
+ AR = $(CROSS_COMPILE)ar
+ SHARED := -shared -Wl,--version-script=link.T -Wl,-no-undefined
+ PLATFORM_DEFINES := -DNO_UNALIGNED_ACCESS
+ PLATFORM_DEFINES += -Ofast -fomit-frame-pointer -march=armv5te -mtune=arm926ej-s -ffast-math -fno-PIC -flto
+ CXXFLAGS += -fno-rtti -fno-exceptions
+ ifeq (,$(DEBUG))
+ LDFLAGS += -s
+ endif
+
# Windows MSVC 2017 all architectures
else ifneq (,$(findstring windows_msvc2017,$(platform)))
|