From 5cb384682f9aa6a4afb5dd645a47ae6b973bbc4d Mon Sep 17 00:00:00 2001 From: rober Date: Mon, 27 Nov 2023 00:03:22 +0800 Subject: [PATCH] fix mac m1 build failed --- tools/build-android-common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build-android-common.sh b/tools/build-android-common.sh index 87df2075..17463e60 100755 --- a/tools/build-android-common.sh +++ b/tools/build-android-common.sh @@ -52,7 +52,7 @@ function get_toolchain() { HOST_ARCH=$(uname -m) case ${HOST_ARCH} in i?86) HOST_ARCH=x86 ;; - x86_64 | amd64) HOST_ARCH=x86_64 ;; + x86_64 | amd64 | arm64) HOST_ARCH=x86_64 ;; esac echo "${HOST_OS}-${HOST_ARCH}"