mirror of
https://github.com/limine-bootloader/limine
synced 2025-01-05 20:34:33 +03:00
Force IPV4 in toolchain script (#18)
* Force IPV4 in toolchain script I was gonna build a toolchain for qloader2 and wget simply hanged. This patch fixes it. * additional comment in wget Co-authored-by: Visual <30368284+VisualDevelopment@users.noreply.github.com> * other additional comment in wget Co-authored-by: Visual <30368284+VisualDevelopment@users.noreply.github.com> Co-authored-by: Visual <30368284+VisualDevelopment@users.noreply.github.com>
This commit is contained in:
parent
008b6e691e
commit
97b8d367be
@ -28,10 +28,10 @@ mkdir -p build
|
||||
cd build
|
||||
|
||||
if [ ! -f binutils-$BINUTILSVERSION.tar.gz ]; then
|
||||
wget https://ftp.gnu.org/gnu/binutils/binutils-$BINUTILSVERSION.tar.gz
|
||||
wget -4 https://ftp.gnu.org/gnu/binutils/binutils-$BINUTILSVERSION.tar.gz # Force IPv4 otherwise wget hangs
|
||||
fi
|
||||
if [ ! -f gcc-$GCCVERSION.tar.gz ]; then
|
||||
wget https://ftp.gnu.org/gnu/gcc/gcc-$GCCVERSION/gcc-$GCCVERSION.tar.gz
|
||||
wget -4 https://ftp.gnu.org/gnu/gcc/gcc-$GCCVERSION/gcc-$GCCVERSION.tar.gz # Same as above
|
||||
fi
|
||||
|
||||
tar -xf binutils-$BINUTILSVERSION.tar.gz
|
||||
|
Loading…
Reference in New Issue
Block a user