From 84f264409c95ace58e7fde0a7ed50103a604edad Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 10 Feb 2020 23:40:39 +0800 Subject: add mingw platform makefile --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'makefile') 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)) -- cgit v1.3.1