From edcbb2a65481bc3cea2c5625d32aca563c3fc41c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20P=C3=B6chtrager?= Date: Wed, 9 Oct 2019 11:34:47 +0200 Subject: [PATCH] Use https mirrors --- build_binutils.sh | 4 ++-- build_clang.sh | 2 +- build_gcc.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build_binutils.sh b/build_binutils.sh index 73eca7d..5669774 100755 --- a/build_binutils.sh +++ b/build_binutils.sh @@ -26,7 +26,7 @@ if [ -z "$GDB_VERSION" ]; then fi # mirror -MIRROR="ftp://sourceware.org/pub" +MIRROR="https://ftp.gnu.org/gnu" require wget @@ -41,7 +41,7 @@ function build_and_install() { if [ ! -f "have_$1_$2_${OSXCROSS_TARGET}" ]; then pushd $OSXCROSS_TARBALL_DIR &>/dev/null - wget -c "$MIRROR/$1/releases/$1-$2.tar.gz" + wget -c "$MIRROR/$1/$1-$2.tar.gz" popd &>/dev/null echo "cleaning up ..." diff --git a/build_clang.sh b/build_clang.sh index 6344952..1ccecc2 100755 --- a/build_clang.sh +++ b/build_clang.sh @@ -18,7 +18,7 @@ mkdir -p $BUILD_DIR source $BASE_DIR/tools/trap_exit.sh -MIRROR="http://releases.llvm.org" +MIRROR="https://releases.llvm.org" if [ -z "$CLANG_VERSION" ]; then CLANG_VERSION=8.0.0 diff --git a/build_gcc.sh b/build_gcc.sh index 27524c9..70e3b80 100755 --- a/build_gcc.sh +++ b/build_gcc.sh @@ -25,7 +25,7 @@ if [ -z "$GCC_VERSION" ]; then fi # GCC mirror -GCC_MIRROR="ftp://ftp.fu-berlin.de/unix/languages/gcc" +GCC_MIRROR="https://mirror.koddos.net/gcc" require wget