mirror of
https://github.com/richfelker/musl-cross-make.git
synced 2025-04-19 07:24:59 +02:00
use HTTPS when retrieving code from the internet
Also update site links to use HTTPS. Closes #156 Closes #180
This commit is contained in:
parent
fe915821b6
commit
5536e343ae
8
Makefile
8
Makefile
@ -16,13 +16,13 @@ BINUTILS_SITE = $(GNU_SITE)/binutils
|
|||||||
GMP_SITE = $(GNU_SITE)/gmp
|
GMP_SITE = $(GNU_SITE)/gmp
|
||||||
MPC_SITE = $(GNU_SITE)/mpc
|
MPC_SITE = $(GNU_SITE)/mpc
|
||||||
MPFR_SITE = $(GNU_SITE)/mpfr
|
MPFR_SITE = $(GNU_SITE)/mpfr
|
||||||
ISL_SITE = http://isl.gforge.inria.fr/
|
ISL_SITE = https://libisl.sourceforge.io/
|
||||||
|
|
||||||
MUSL_SITE = https://musl.libc.org/releases
|
MUSL_SITE = https://musl.libc.org/releases
|
||||||
MUSL_REPO = git://git.musl-libc.org/musl
|
MUSL_REPO = https://git.musl-libc.org/git/musl
|
||||||
|
|
||||||
LINUX_SITE = https://cdn.kernel.org/pub/linux/kernel
|
LINUX_SITE = https://cdn.kernel.org/pub/linux/kernel
|
||||||
LINUX_HEADERS_SITE = http://ftp.barfooze.de/pub/sabotage/tarballs/
|
LINUX_HEADERS_SITE = https://ftp.barfooze.de/pub/sabotage/tarballs/
|
||||||
|
|
||||||
DL_CMD = wget -c -O
|
DL_CMD = wget -c -O
|
||||||
SHA1_CMD = sha1sum -c
|
SHA1_CMD = sha1sum -c
|
||||||
@ -76,7 +76,7 @@ $(SOURCES):
|
|||||||
|
|
||||||
$(SOURCES)/config.sub: | $(SOURCES)
|
$(SOURCES)/config.sub: | $(SOURCES)
|
||||||
mkdir -p $@.tmp
|
mkdir -p $@.tmp
|
||||||
cd $@.tmp && $(DL_CMD) $(notdir $@) "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=$(CONFIG_SUB_REV)"
|
cd $@.tmp && $(DL_CMD) $(notdir $@) "https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=$(CONFIG_SUB_REV)"
|
||||||
cd $@.tmp && touch $(notdir $@)
|
cd $@.tmp && touch $(notdir $@)
|
||||||
cd $@.tmp && $(SHA1_CMD) $(CURDIR)/hashes/$(notdir $@).$(CONFIG_SUB_REV).sha1
|
cd $@.tmp && $(SHA1_CMD) $(CURDIR)/hashes/$(notdir $@).$(CONFIG_SUB_REV).sha1
|
||||||
mv $@.tmp/$(notdir $@) $@
|
mv $@.tmp/$(notdir $@) $@
|
||||||
|
@ -7,7 +7,7 @@ GCC_CONFIG += --enable-default-pie
|
|||||||
# the above --with-cpu=mj2 in order to try:
|
# the above --with-cpu=mj2 in order to try:
|
||||||
# GCC_VER = 4.2.1
|
# GCC_VER = 4.2.1
|
||||||
# BINUTILS_VER = 397a64b3
|
# BINUTILS_VER = 397a64b3
|
||||||
# BINUTILS_SITE = http://landley.net/aboriginal/mirror
|
# BINUTILS_SITE = https://landley.net/aboriginal/mirror
|
||||||
|
|
||||||
# Optional to produce a smaller toolchain:
|
# Optional to produce a smaller toolchain:
|
||||||
# COMMON_CONFIG += --disable-nls
|
# COMMON_CONFIG += --disable-nls
|
||||||
|
Loading…
Reference in New Issue
Block a user