diff options
| author | ruki <[email protected]> | 2020-02-26 22:46:03 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-02-26 10:36:22 +0800 |
| commit | 33183c28a74286f34d81b228c91b616af17a1db7 (patch) | |
| tree | 0e773c96d59a2912a3e55ad37c21923b987f2dae | |
| parent | ae147a11648130c6c609763a4fb4f0694fba80c5 (diff) | |
improve makefile
| -rw-r--r-- | core/makefile | 3 | ||||
| -rw-r--r-- | makefile | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/core/makefile b/core/makefile index 82ad45483..3f1746943 100644 --- a/core/makefile +++ b/core/makefile @@ -180,7 +180,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)) @@ -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)) |
