build: if uname -m prints arm64, we use arm64 (instead of just arm)

This commit is contained in:
Zaiming (Stone) Shi 2022-12-14 23:17:41 +01:00
parent f704c4c96b
commit b5b7d92aeb
1 changed files with 4 additions and 1 deletions

View File

@ -128,8 +128,11 @@ case "$UNAME_M" in
aarch64)
ARCH='arm64'
;;
arm64)
ARCH='arm64'
;;
arm*)
ARCH=arm
ARCH='arm'
;;
esac