diff options
author | neonloop | 2021-10-21 15:04:02 +0000 |
---|---|---|
committer | neonloop | 2021-10-21 15:04:02 +0000 |
commit | 4ed343911dd50c564d76e3d44f807cc64820310b (patch) | |
tree | 6298fae38506a290c24ea6b14550a0849c30f139 /patches/smsplus-gx | |
parent | a1b4714da9b135a864ebe1b53b8bf4c67b8b18d5 (diff) | |
download | picoarch-4ed343911dd50c564d76e3d44f807cc64820310b.tar.gz picoarch-4ed343911dd50c564d76e3d44f807cc64820310b.tar.bz2 picoarch-4ed343911dd50c564d76e3d44f807cc64820310b.zip |
Adds smsplus-gx core
Diffstat (limited to 'patches/smsplus-gx')
-rw-r--r-- | patches/smsplus-gx/1000-trimui-build.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/patches/smsplus-gx/1000-trimui-build.patch b/patches/smsplus-gx/1000-trimui-build.patch new file mode 100644 index 0000000..2d42b2f --- /dev/null +++ b/patches/smsplus-gx/1000-trimui-build.patch @@ -0,0 +1,27 @@ +diff --git a/Makefile.libretro b/Makefile.libretro +index e4575bc..7f96e07 100644 +--- a/Makefile.libretro ++++ b/Makefile.libretro +@@ -327,7 +327,21 @@ else ifeq ($(platform), miyoo) + SHARED := -shared -Wl,--no-undefined -Wl,--version-script=link.T + CFLAGS += -ffast-math -march=armv5te -mtune=arm926ej-s -fomit-frame-pointer + ENDIANNESS_DEFINES += -DLSB_FIRST -DBYTE_ORDER=LITTLE_ENDIAN -DALIGN_LONG +- ++ ++else ifeq ($(platform), trimui) ++ TARGET := $(TARGET_NAME)_libretro.so ++ CC = $(CROSS_COMPILE)gcc ++ CXX = $(CROSS_COMPILE)g++ ++ AR = $(CROSS_COMPILE)ar ++ SHARED := -shared -Wl,--no-undefined -Wl,--version-script=link.T ++ CFLAGS += -fomit-frame-pointer -march=armv5te -mtune=arm926ej-s -ffast-math -fno-PIC -flto ++ CXXFLAGS += -fomit-frame-pointer -march=armv5te -mtune=arm926ej-s -ffast-math -fno-PIC -flto ++ LDFLAGS += -flto ++ ifeq (,$(DEBUG)) ++ LDFLAGS += -s ++ endif ++ ENDIANNESS_DEFINES += -DLSB_FIRST -DBYTE_ORDER=LITTLE_ENDIAN -DALIGN_LONG ++ + # else ifneq (,$(findstring armv,$(platform))) + # TARGET := $(TARGET_NAME)_libretro.so + # fpic := -fPIC |