Use https mirrors

This commit is contained in:
Thomas Pöchtrager 2019-10-09 11:34:47 +02:00
parent 04246791b8
commit edcbb2a654
3 changed files with 4 additions and 4 deletions

View File

@ -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 ..."

View File

@ -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

View File

@ -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