summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorruki <[email protected]>2020-02-10 23:40:39 +0800
committerruki <[email protected]>2020-02-10 16:03:55 +0800
commit84f264409c95ace58e7fde0a7ed50103a604edad (patch)
treec6cd4ad1cf4ce2924658f38edc211a2566f72f0c /makefile
parent60802d45c53e0a63a5dba3da8a082140bb4cb979 (diff)
add mingw platform makefile
Diffstat (limited to 'makefile')
-rw-r--r--makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefile b/makefile
index b0c5eef25..f0859a93c 100644
--- a/makefile
+++ b/makefile
@@ -34,7 +34,7 @@ PLAT :=$(if $(PLAT),$(PLAT),linux)
ifeq ($(ARCH),)
ARCH :=$(if $(findstring windows,$(PLAT)),x86,$(ARCH))
-ARCH :=$(if $(findstring mingw,$(PLAT)),x86,$(ARCH))
+ARCH :=$(if $(findstring mingw,$(PLAT)),i386,$(ARCH))
ARCH :=$(if $(findstring macosx,$(PLAT)),x$(shell getconf LONG_BIT),$(ARCH))
ARCH :=$(if $(findstring linux,$(PLAT)),x$(shell getconf LONG_BIT),$(ARCH))
ARCH :=$(if $(findstring x32,$(ARCH)),i386,$(ARCH))