Improve arch detection, add "aarch64" as arm64 platform

This commit is contained in:
Stefan Kooman 2020-01-22 10:49:00 +01:00
parent 095b245717
commit e3f45e1d0f
1 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,8 @@ elif [[ $ARCH == *386* ]] || [[ $ARCH == *686* ]]; then
ARCH="i386"
elif [[ $ARCH == *arm64* ]] || [[ $ARCH == *armv8* ]]; then
ARCH="arm64"
elif [[ $ARCH == *aarch64* ]] || [[ $ARCH == *armv8* ]]; then
ARCH="arm64"
elif [[ $ARCH == *armv6* ]] || [[ $ARCH == *armv7* ]]; then
ARCH="armhf"
else