From e2a49be0b7f53399699dc1ec533a6fb1ec1f67b4 Mon Sep 17 00:00:00 2001 From: takeshix Date: Mon, 19 Apr 2021 15:43:19 +0200 Subject: [PATCH] Updated 02_install_build_compiler.sh --- build/02_install_build_compiler.sh | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/build/02_install_build_compiler.sh b/build/02_install_build_compiler.sh index b606c55..15cb8c3 100755 --- a/build/02_install_build_compiler.sh +++ b/build/02_install_build_compiler.sh @@ -5,13 +5,19 @@ if [ $# -ne 1 ];then fi ARCH="${1,,}" case $ARCH in - x86|x86_64|i686|arm|armhf|aarch64) - ARCH="${ARCH}-linux-musl" - ;; + x86_64|i686|aarch64) + ARCH="${ARCH}-linux-musl" + ;; + x86) + ARCH="i686-linux-musl" + ;; + arm) + ARCH="arm-linux-musleabihf" + ;; *) - echo "Invalid arch ${ARCH}" - exit 1 - ;; + echo "Invalid arch ${ARCH}" + exit 1 + ;; esac HOST=http://musl.cc cd /