aboutsummaryrefslogtreecommitdiff
path: root/patches/dosbox-pure/0002-avoid-armv7-buggy-assembly.patch
blob: 3ec7acb96e67c22886b9c736a7dfcabf3714a103 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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