summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-12-28 10:41:31 +0000
committerSam James <sam@gentoo.org>2021-12-28 10:41:56 +0000
commit399689a049bc66a5dfb9ff5ff2e7b32d5281a280 (patch)
tree7385449ccd335f349439dbf97442d08ee1158ed9 /eclass/toolchain.eclass
parentdev-python/lz4: Remove old (diff)
downloadgentoo-399689a049bc66a5dfb9ff5ff2e7b32d5281a280.tar.gz
gentoo-399689a049bc66a5dfb9ff5ff2e7b32d5281a280.tar.bz2
gentoo-399689a049bc66a5dfb9ff5ff2e7b32d5281a280.zip
toolchain.eclass: use HTTPS for snapshots
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index fd03ba176276..dfca9ecee0d0 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -373,7 +373,7 @@ get_gcc_src_uri() {
# pull gcc tarball from another location. Frequently used by gnat-gpl.
GCC_SRC_URI="${GCC_TARBALL_SRC_URI}"
elif [[ -n ${SNAPSHOT} ]] ; then
- GCC_SRC_URI="ftp://gcc.gnu.org/pub/gcc/snapshots/${SNAPSHOT}/gcc-${SNAPSHOT}.tar.xz"
+ GCC_SRC_URI="https://gcc.gnu.org/pub/gcc/snapshots/${SNAPSHOT}/gcc-${SNAPSHOT}.tar.xz"
else
if tc_version_is_between 5.5 6 || tc_version_is_between 6.4 7 || tc_version_is_at_least 7.2 ; then
GCC_SRC_URI="mirror://gnu/gcc/gcc-${GCC_PV}/gcc-${GCC_RELEASE_VER}.tar.xz"