gcc: fix distfiles url

This commit is contained in:
oreo639 2025-05-13 14:21:35 -07:00
parent b210e5de9b
commit 6a8ce8e175

View file

@ -19,7 +19,7 @@ homepage="http://gcc.gnu.org"
license="GFDL-1.2-or-later, GPL-3.0-or-later, LGPL-2.1-or-later"
case "${version}" in
*+*) distfiles="https://gcc.gnu.org/pub/gcc/snapshots/${_majorver}-${version#*+}/gcc-${_majorver}-${version#*+}.tar.xz" ;;
*) distfiles="${GNU_SITE}/gcc/gcc-${version}.tar.xz" ;;
*) distfiles="${GNU_SITE}/gcc/gcc-${version}/gcc-${version}.tar.xz" ;;
esac
distfiles+="
${GNU_SITE}/gmp/gmp-${_gmp_version}.tar.xz