distribution/packages/games/libretro/snes9x2010/patches/snes9x2010-add-oga.patch
2022-02-05 09:23:32 -05:00

32 lines
991 B
Diff

--- a/Makefile.libretro
+++ b/Makefile.libretro
@@ -344,6 +344,29 @@
endif
#######################################
+
+#########################################
+# (armv8 a35, hard point, neon based) ###
+# Odroid Go Advance
+else ifeq ($(platform), goa_armv8_a35)
+TARGET := $(TARGET_NAME)_libretro.so
+ fpic := -fPIC
+ SHARED := -shared -Wl,--version-script=libretro/link.T -Wl,--no-undefined
+ CFLAGS += -Ofast \
+ -flto=4 -fuse-linker-plugin \
+ -fdata-sections -ffunction-sections -Wl,--gc-sections \
+ -fno-stack-protector -fno-ident -fomit-frame-pointer \
+ -falign-functions=1 -falign-jumps=1 -falign-loops=1 \
+ -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-unroll-loops \
+ -fmerge-all-constants -fno-math-errno \
+ -marm -mcpu=cortex-a35 -mfpu=neon-fp-armv8 -mfloat-abi=hard
+ CXXFLAGS += $(CFLAGS)
+ CPPFLAGS += $(CFLAGS)
+ ASFLAGS += $(CFLAGS)
+ HAVE_NEON = 1
+ ARCH = arm
+ BUILTIN_GPU = neon
+ USE_DYNAREC = 1
# Xbox 360
else ifeq ($(platform), xenon)
EXT=a