summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorruki <[email protected]>2020-02-26 22:46:03 +0800
committerruki <[email protected]>2020-02-26 10:36:22 +0800
commit33183c28a74286f34d81b228c91b616af17a1db7 (patch)
tree0e773c96d59a2912a3e55ad37c21923b987f2dae /makefile
parentae147a11648130c6c609763a4fb4f0694fba80c5 (diff)
improve makefile
Diffstat (limited to 'makefile')
-rw-r--r--makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/makefile b/makefile
index 90af2c3cb..c53a12cb7 100644
--- a/makefile
+++ b/makefile
@@ -55,7 +55,8 @@ ARCH := $(if $(findstring armv7,$(ARCHSTR)),armv7,$(ARCH))
ARCH := $(if $(findstring arm,$(ARCHSTR)),arm,$(ARCH))
endif
endif
-ARCH :=$(if $(findstring i686,$(ARCH)),i386,$(ARCH))
+ARCH :=$(if $(findstring any,$(ARCH)),i386,$(ARCH)) # from msys/PKGBUILD
+ARCH :=$(if $(findstring i686,$(ARCH)),i386,$(ARCH)) # from msys/mingw32
ARCH :=$(if $(findstring x32,$(ARCH)),i386,$(ARCH))
ARCH :=$(if $(findstring x64,$(ARCH)),x86_64,$(ARCH))