mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
toolchain.eclass: use HTTPS for snapshots
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user