summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-08-15 12:07:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-08-15 12:07:50 +0000
commit65fb512795af2e4f3c258661e6aa05e5441ce076 (patch)
treeb038403c466b6a2d577b5c1e5778794d2436197b /scripts
parentAdding upstream version 1.6.3+20220719. (diff)
downloadttyd-65fb512795af2e4f3c258661e6aa05e5441ce076.tar.xz
ttyd-65fb512795af2e4f3c258661e6aa05e5441ce076.zip
Adding upstream version 1.7.0.upstream/1.7.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/cross-build.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/cross-build.sh b/scripts/cross-build.sh
index d4391a7..22c9849 100755
--- a/scripts/cross-build.sh
+++ b/scripts/cross-build.sh
@@ -130,11 +130,12 @@ build() {
ALIAS="$2"
STAGE_DIR="${STAGE_ROOT}/${TARGET}"
BUILD_DIR="${BUILD_ROOT}/${TARGET}"
+ MUSL_CC_URL="https://github.com/tsl0922/musl-toolchains/releases/download/2021-11-23"
echo "=== Installing toolchain ${ALIAS} (${TARGET})..."
mkdir -p "${CROSS_ROOT}" && export PATH="${PATH}:/opt/cross/bin"
- curl -fSsLo- "https://musl.cc/${TARGET}-cross.tgz" | tar xz -C "${CROSS_ROOT}" --strip-components 1
+ curl -fSsLo- "${MUSL_CC_URL}/${TARGET}-cross.tgz" | tar xz -C "${CROSS_ROOT}" --strip-components 1
echo "=== Building target ${ALIAS} (${TARGET})..."