diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 12 insertions, 10 deletions
@@ -80,6 +80,8 @@ GXX64 = "$(GCC_BINPATH)/g++ -m32 -static-libgcc -static-libstdc++" GCC = "$(GCC_BINPATH)/gcc -static-libgcc" GXX = "$(GCC_BINPATH)/g++ -static-libgcc -static-libstdc++" +WGET = wget --no-check-certificate + WINGCC_ROOTNAME = gcc WINGCC_INST_DIR = $(INST_BASE)/$(WINGCC_ROOTNAME) @@ -105,37 +107,37 @@ SOURCE_PACKAGES = \ JOBS = $(SOURCE_DIR)/binutils-$(VERSION_BINUTILS).tar.bz2: _download_prepare - wget -c https://ftp.gnu.org/gnu/binutils/binutils-$(VERSION_BINUTILS).tar.bz2 -O \ + $(WGET) -c https://ftp.gnu.org/gnu/binutils/binutils-$(VERSION_BINUTILS).tar.bz2 -O \ $(SOURCE_DIR)/binutils-$(VERSION_BINUTILS).tar.bz2 2>&1 $(SOURCE_DIR)/gcc-$(VERSION_GCC).tar.gz: - wget -c https://ftp.gnu.org/gnu/gcc/gcc-$(VERSION_GCC)/gcc-$(VERSION_GCC).tar.gz -O \ + $(WGET) -c https://ftp.gnu.org/gnu/gcc/gcc-$(VERSION_GCC)/gcc-$(VERSION_GCC).tar.gz -O \ $(SOURCE_DIR)/gcc-$(VERSION_GCC).tar.gz $(SOURCE_DIR)/gmp-$(VERSION_GMP).tar.lz: - wget -c https://gmplib.org/download/gmp/gmp-$(VERSION_GMP).tar.lz -O \ + $(WGET) -c https://gmplib.org/download/gmp/gmp-$(VERSION_GMP).tar.lz -O \ $(SOURCE_DIR)/gmp-$(VERSION_GMP).tar.lz $(SOURCE_DIR)/mingw-w64-v$(VERSION_MINGW).tar.bz2: - wget -c https://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/mingw-w64-v$(VERSION_MINGW).tar.bz2/download -O \ + $(WGET) -c https://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/mingw-w64-v$(VERSION_MINGW).tar.bz2/download -O \ $(SOURCE_DIR)/mingw-w64-v$(VERSION_MINGW).tar.bz2 $(SOURCE_DIR)/mpc-$(VERSION_MPC).tar.gz: - wget -c ftp://ftp.gnu.org/gnu/mpc/mpc-$(VERSION_MPC).tar.gz -O \ + $(WGET) -c ftp://ftp.gnu.org/gnu/mpc/mpc-$(VERSION_MPC).tar.gz -O \ $(SOURCE_DIR)/mpc-$(VERSION_MPC).tar.gz $(SOURCE_DIR)/mpfr-$(VERSION_MPFR).tar.bz2: - wget -c http://www.mpfr.org/mpfr-current/mpfr-$(VERSION_MPFR).tar.bz2 -O \ + $(WGET) -c http://www.mpfr.org/mpfr-current/mpfr-$(VERSION_MPFR).tar.bz2 -O \ $(SOURCE_DIR)/mpfr-$(VERSION_MPFR).tar.bz2 $(SOURCE_DIR)/zlib-$(VERSION_ZLIB).tar.gz: - wget -c https://www.zlib.net/zlib-$(VERSION_ZLIB).tar.gz -O \ + $(WGET) -c https://www.zlib.net/zlib-$(VERSION_ZLIB).tar.gz -O \ $(SOURCE_DIR)/zlib-$(VERSION_ZLIB).tar.gz $(SOURCE_DIR)/bzip2-$(VERSION_BZ2).tar.gz: - wget -c ftp://sourceware.org/pub/bzip2/bzip2-$(VERSION_BZ2).tar.gz -O \ + $(WGET) -c ftp://sourceware.org/pub/bzip2/bzip2-$(VERSION_BZ2).tar.gz -O \ $(SOURCE_DIR)/bzip2-$(VERSION_BZ2).tar.gz $(SOURCE_DIR)/gdb-$(VERSION_GDB).tar.gz: - wget -c ftp://sourceware.org/pub/gdb/releases/gdb-$(VERSION_GDB).tar.gz -O \ + $(WGET) -c ftp://sourceware.org/pub/gdb/releases/gdb-$(VERSION_GDB).tar.gz -O \ $(SOURCE_DIR)/gdb-$(VERSION_GDB).tar.gz #$(SOURCE_DIR)/isl-$(VERSION_ISL).tar.bz2: # wget -c "ftp://gcc.gnu.org/pub/gcc/infrastructure/isl-$(VERSION_ISL).tar.bz2" -O \ # $(SOURCE_DIR)/isl-$(VERSION_ISL).tar.bz2 $(SOURCE_DIR)/isl-$(VERSION_ISL).tar.bz2: - wget -c "http://isl.gforge.inria.fr/isl-$(VERSION_ISL).tar.bz2" -O \ + $(WGET) -c "http://isl.gforge.inria.fr/isl-$(VERSION_ISL).tar.bz2" -O \ $(SOURCE_DIR)/isl-$(VERSION_ISL).tar.bz2 download: $(SOURCE_PACKAGES) |