projects/aports·blob master · refs

29 lines · 996 B

1Upstream: https://github.com/libretro/parallel-n64/issues/671
2--- parallel-n64-0a67445ce63513584d92e5c57ea87efe0da9b3bd/Makefile.orig
3+++ parallel-n64-0a67445ce63513584d92e5c57ea87efe0da9b3bd/Makefile
4@@ -91,10 +91,12 @@
5
6 ifeq ($(ARCH), $(filter $(ARCH), i386 i686))
7 WITH_DYNAREC = x86
8-else ifeq ($(ARCH), $(filter $(ARCH), arm))
9- WITH_DYNAREC = arm
10 else ifeq ($(ARCH), $(filter $(ARCH), aarch64))
11 WITH_DYNAREC = aarch64
12+ CFLAGS += -DARM_FIX
13+else ifneq (, $(findstring arm, $(ARCH)))
14+ WITH_DYNAREC = arm
15+ CFLAGS += -DARM_FIX
16 endif
17
18 ifeq ($(HAVE_VULKAN_DEBUG),1)
19--- parallel-n64-0a67445ce63513584d92e5c57ea87efe0da9b3bd/mupen64plus-core/src/r4300/new_dynarec/arm/assem_arm.h.orig
20+++ parallel-n64-0a67445ce63513584d92e5c57ea87efe0da9b3bd/mupen64plus-core/src/r4300/new_dynarec/arm/assem_arm.h
21@@ -1,6 +1,8 @@
22 #ifndef M64P_R4300_ASSEM_ARM_H
23 #define M64P_R4300_ASSEM_ARM_H
24
25+#include <sys/types.h>
26+
27 #define HOST_REGS 13
28 #define HOST_CCREG 10
29 #define HOST_BTREG 8