scripts: download cross toolchain with https

This commit is contained in:
Shuanglei Tao
2020-08-29 13:25:39 +08:00
parent d9cf6fc237
commit 94dd4a0de4

View File

@@ -144,7 +144,7 @@ build() {
echo "=== Installing toolchain ${ALIAS} (${TARGET})..."
mkdir -p "${CROSS_ROOT}" && export PATH="${PATH}:/opt/cross/bin"
curl -sLo- "http://musl.cc/${TARGET}-cross.tgz" | tar xz -C "${CROSS_ROOT}" --strip-components 1
curl -sLo- "https://musl.cc/${TARGET}-cross.tgz" | tar xz -C "${CROSS_ROOT}" --strip-components 1
echo "=== Building target ${ALIAS} (${TARGET})..."