diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-05-30 13:59:24 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-05-30 13:59:24 +0200 |
commit | ed58abb9116eaa170ed59aad5b703a0b6a8cccf5 (patch) | |
tree | eb98a2ed4b2d13a9c50ef9ab68a1545ffb61f6c9 | |
parent | 08926e59b36dd46e4fad9db522d4a2192ede7263 (diff) | |
download | serenity-ed58abb9116eaa170ed59aad5b703a0b6a8cccf5.zip |
Ports: Build binutils from tarball instead of git.
-rwxr-xr-x | Ports/binutils/binutils.sh | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/Ports/binutils/binutils.sh b/Ports/binutils/binutils.sh index 91a08eb152..36c6432ca6 100755 --- a/Ports/binutils/binutils.sh +++ b/Ports/binutils/binutils.sh @@ -1,14 +1,7 @@ -#!/bin/sh +#!/bin/bash PORT_DIR=binutils function fetch() { - # Canonical repository: - # 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 + run_fetch_web "https://ftp.gnu.org/gnu/binutils/binutils-2.32.tar.xz" # Add the big binutils patch (same one used by toolchain.) run_patch $SERENITY_ROOT/Toolchain/Patches/binutils.patch -p1 |