From 694af47e2b3dc8c24dac704f293f4bcf9ab67858 Mon Sep 17 00:00:00 2001 From: neonloop Date: Mon, 24 Jul 2023 22:07:02 +0000 Subject: Changes funkey-s platform to unix-armv7-hardfloat-neon More generic platform is supported by more cores, fewer patches needed to get cores to build. Adding new cores is easier. unix-armv7-cortexa7-hardfloat-neon causes warnings, maybe SDK bug? Generic platform may not be as optimized, but speed difference can be fixed with patches if discovered. --- patches/dosbox-pure/0002-avoid-armv7-buggy-assembly.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/dosbox-pure/0002-avoid-armv7-buggy-assembly.patch (limited to 'patches/dosbox-pure/0002-avoid-armv7-buggy-assembly.patch') diff --git a/patches/dosbox-pure/0002-avoid-armv7-buggy-assembly.patch b/patches/dosbox-pure/0002-avoid-armv7-buggy-assembly.patch new file mode 100644 index 0000000..3ec7acb --- /dev/null +++ b/patches/dosbox-pure/0002-avoid-armv7-buggy-assembly.patch @@ -0,0 +1,13 @@ +diff --git a/Makefile b/Makefile +index 3e7941c..104d457 100644 +--- a/Makefile ++++ b/Makefile +@@ -200,6 +200,8 @@ else + BUILDDIR := release + ifeq ($(platform),vita) + CFLAGS := -DNDEBUG -O3 -fno-ident -fno-partial-inlining ++ else ifneq (,$(findstring armv7,$(platform))) ++ CFLAGS := -DNDEBUG -Ofast -fno-ident + else + CFLAGS := -DNDEBUG -O2 -fno-ident + endif -- cgit v1.2.3