From 3d558413fd42078f112dfee4ccc2e3c36978923f Mon Sep 17 00:00:00 2001 From: David Guillen Fandos Date: Sat, 6 Mar 2021 21:15:22 +0100 Subject: Fix x86 dynarec, broken by d10c4afe The dynarec expects function args to be located in registers instead of the stack, which is not the default calling convetion in GCC/clang. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c728e9f..e846b3a 100644 --- a/Makefile +++ b/Makefile @@ -442,6 +442,8 @@ endif ifeq ($(CPU_ARCH), arm) DEFINES += -DARM_ARCH +else ifeq ($(CPU_ARCH), x86_32) +DEFINES += -DX86_ARCH endif -- cgit v1.2.3