Updated 02_install_build_compiler.sh
This commit is contained in:
parent
d64ea4e08f
commit
e2a49be0b7
1 changed files with 12 additions and 6 deletions
|
@ -5,13 +5,19 @@ if [ $# -ne 1 ];then
|
||||||
fi
|
fi
|
||||||
ARCH="${1,,}"
|
ARCH="${1,,}"
|
||||||
case $ARCH in
|
case $ARCH in
|
||||||
x86|x86_64|i686|arm|armhf|aarch64)
|
x86_64|i686|aarch64)
|
||||||
ARCH="${ARCH}-linux-musl"
|
ARCH="${ARCH}-linux-musl"
|
||||||
;;
|
;;
|
||||||
|
x86)
|
||||||
|
ARCH="i686-linux-musl"
|
||||||
|
;;
|
||||||
|
arm)
|
||||||
|
ARCH="arm-linux-musleabihf"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Invalid arch ${ARCH}"
|
echo "Invalid arch ${ARCH}"
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
HOST=http://musl.cc
|
HOST=http://musl.cc
|
||||||
cd /
|
cd /
|
||||||
|
|
Loading…
Reference in a new issue