summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorruki <[email protected]>2017-12-11 22:42:38 +0800
committerruki <[email protected]>2017-12-11 10:15:50 +0800
commit9c2bf2f28fe56a74758ee14efe33cbca6a781d8b (patch)
tree4e4aaeea961bfcb6024b90f35d3cb935d234bd3c /core
parent486306c4368b8e2bc352cb7f2da7e8e1e38ba3f7 (diff)
improve makefile for arch detect
Diffstat (limited to 'core')
-rw-r--r--core/makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/makefile b/core/makefile
index 252fc852a..cf14faee7 100644
--- a/core/makefile
+++ b/core/makefile
@@ -170,6 +170,7 @@ ARCH :=$(if $(findstring android,$(PLAT)),armv7,$(ARCH))
ifeq ($(PLAT),linux)
ARCHSTR := $(shell uname -m)
ARCH := $(if $(findstring aarch64,$(ARCHSTR)),arm64,$(ARCH))
+ARCH := $(if $(findstring arm64,$(ARCHSTR)),arm64,$(ARCH))
ARCH := $(if $(findstring armv7,$(ARCHSTR)),armv7,$(ARCH))
ARCH := $(if $(findstring arm,$(ARCHSTR)),arm,$(ARCH))
endif