summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Guillen Fandos2021-03-06 21:15:22 +0100
committerDavid Guillen Fandos2021-03-06 21:15:22 +0100
commit3d558413fd42078f112dfee4ccc2e3c36978923f (patch)
tree7ac42b4df1e7f2332f1a32c432dd12d685035874 /Makefile
parentd21478e06edb61d2f0565c06fc6665799a6d7e72 (diff)
downloadpicogpsp-3d558413fd42078f112dfee4ccc2e3c36978923f.tar.gz
picogpsp-3d558413fd42078f112dfee4ccc2e3c36978923f.tar.bz2
picogpsp-3d558413fd42078f112dfee4ccc2e3c36978923f.zip
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
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