1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-19 06:27:34 +00:00

Ports: Build binutils from tarball instead of git.

This commit is contained in:
Andreas Kling 2019-05-30 13:59:24 +02:00
parent 08926e59b3
commit ed58abb911

View file

@ -1,14 +1,7 @@
#!/bin/sh #!/bin/bash
PORT_DIR=binutils PORT_DIR=binutils
function fetch() { function fetch() {
# Canonical repository: run_fetch_web "https://ftp.gnu.org/gnu/binutils/binutils-2.32.tar.xz"
# run_fetch_git "http://sourceware.org/git/binutils-gdb.git"
# Much faster mirror (though unofficial):
run_fetch_git "https://github.com/bminor/binutils-gdb.git"
# FIXME: It would probably be better to build from a tarball.
run_command git reset --hard binutils-2_32
# Add the big binutils patch (same one used by toolchain.) # Add the big binutils patch (same one used by toolchain.)
run_patch $SERENITY_ROOT/Toolchain/Patches/binutils.patch -p1 run_patch $SERENITY_ROOT/Toolchain/Patches/binutils.patch -p1