mirror of
https://github.com/Relintai/osxcross.git
synced 2025-02-03 22:45:56 +01:00
Use https mirrors
This commit is contained in:
parent
04246791b8
commit
edcbb2a654
@ -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 ..."
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user