common/environment/build-style/void-cross.sh: add distfiles fallback

Try the distfiles mirror in case the gcc snapshot has expired.
This commit is contained in:
oreo639 2025-04-06 02:37:27 -07:00
parent 2a265ac724
commit 281956f4eb

View file

@ -1,3 +1,9 @@
# Snapshot tarballs get removed after over a year, we can archive the ones we need in distfiles.
case "$XBPS_DISTFILES_FALLBACK" in
*"repo-default.voidlinux.org/distfiles"*) ;;
*) XBPS_DISTFILES_FALLBACK+=" https://repo-default.voidlinux.org/distfiles" ;;
esac
lib32disabled=yes
nopie=yes