build: wget -> curl
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 46ba52d6..3f8faa08 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -23,7 +23,7 @@ jobs:
run: echo "BRANCH_NAME=$(echo "$TAG_NAME" | grep -o 'v[0-9]\+\.')0-branch" >> $GITHUB_ENV
- name: Install dependencies
- run: sudo apt-get update && sudo apt-get install git build-essential nasm gcc-mingw-w64 gcc-multilib wget mtools -y
+ run: sudo apt-get update && sudo apt-get install git build-essential nasm gcc-mingw-w64 gcc-multilib curl mtools -y
- name: Build the toolchain
run: make toolchain
diff --git a/Makefile b/Makefile
index b6698c0c..4fca692a 100644
--- a/Makefile
+++ b/Makefile
@@ -132,7 +132,7 @@ gnu-efi:
ovmf:
mkdir -p ovmf
- cd ovmf && wget https://efi.akeo.ie/OVMF/OVMF-X64.zip && 7z x OVMF-X64.zip
+ cd ovmf && curl -o OVMF-X64.zip https://efi.akeo.ie/OVMF/OVMF-X64.zip && 7z x OVMF-X64.zip
.PHONY: test.hdd
test.hdd:
diff --git a/README.md b/README.md
index 92aea9a5..c9357df2 100644
--- a/README.md
+++ b/README.md
@@ -68,7 +68,7 @@ This step can take a long time, but it will ensure that the compiler will work w
Limine. If on an x86_64 host, with GCC or Clang installed, you can also skip to the next paragraph.
The toolchain building process depends on the following packages: `bash`, `make`,
-`wget`, `gcc`, `g++`, `GNU binutils`.
+`curl`, `gcc`, `g++`, `GNU binutils`.
Building the toolchain can be accomplished by running:
```bash
diff --git a/aux/make_toolchain.sh b/aux/make_toolchain.sh
index de3461bf..5ddb3c9d 100755
--- a/aux/make_toolchain.sh
+++ b/aux/make_toolchain.sh
@@ -17,10 +17,10 @@ export MAKEFLAGS="$2"
export PATH="$PREFIX/bin:$PATH"
if [ ! -f binutils-$BINUTILSVERSION.tar.gz ]; then
- wget https://ftp.gnu.org/gnu/binutils/binutils-$BINUTILSVERSION.tar.gz
+ curl -o binutils-$BINUTILSVERSION.tar.gz https://ftp.gnu.org/gnu/binutils/binutils-$BINUTILSVERSION.tar.gz
fi
if [ ! -f gcc-$GCCVERSION.tar.gz ]; then
- wget https://ftp.gnu.org/gnu/gcc/gcc-$GCCVERSION/gcc-$GCCVERSION.tar.gz
+ curl -o gcc-$GCCVERSION.tar.gz https://ftp.gnu.org/gnu/gcc/gcc-$GCCVERSION/gcc-$GCCVERSION.tar.gz
fi
rm -rf build
