summaryrefslogtreecommitdiff
path: root/Ports/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/binutils')
-rwxr-xr-xPorts/binutils/package.sh1
-rw-r--r--Ports/binutils/patches/binutils.patch11
2 files changed, 1 insertions, 11 deletions
diff --git a/Ports/binutils/package.sh b/Ports/binutils/package.sh
index fdff73824e..cdedfece4e 100755
--- a/Ports/binutils/package.sh
+++ b/Ports/binutils/package.sh
@@ -2,6 +2,7 @@
port=binutils
version=2.37
useconfigure=true
+use_fresh_config_sub=true
configopts=("--target=${SERENITY_ARCH}-pc-serenity" "--with-sysroot=/" "--with-build-sysroot=${SERENITY_INSTALL_ROOT}" "--disable-werror" "--disable-gdb" "--disable-nls")
files="https://ftpmirror.gnu.org/gnu/binutils/binutils-${version}.tar.xz binutils-${version}.tar.xz 820d9724f020a3e69cb337893a0b63c2db161dadcb0e06fc11dc29eb1e84a32c"
auth_type="sha256"
diff --git a/Ports/binutils/patches/binutils.patch b/Ports/binutils/patches/binutils.patch
index d0512e1aa6..f91ee04915 100644
--- a/Ports/binutils/patches/binutils.patch
+++ b/Ports/binutils/patches/binutils.patch
@@ -26,17 +26,6 @@ diff -Naur binutils-2.37/bfd/config.bfd binutils-2.37.serenity/bfd/config.bfd
aarch64-*-darwin*)
targ_defvec=aarch64_mach_o_vec
targ_selvecs="arm_mach_o_vec mach_o_le_vec mach_o_be_vec mach_o_fat_vec"
-diff -Naur binutils-2.37/config.sub binutils-2.37.serenity/config.sub
---- binutils-2.37/config.sub 2021-07-08 13:37:19.000000000 +0200
-+++ binutils-2.37.serenity/config.sub 2021-07-28 18:03:58.972705458 +0200
-@@ -1700,6 +1700,7 @@
- # The portable systems comes first.
- # Each alternative MUST end in a * to match a version number.
- gnu* | android* | bsd* | mach* | minix* | genix* | ultrix* | irix* \
-+ | serenity* \
- | *vms* | esix* | aix* | cnk* | sunos | sunos[34]* \
- | hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
- | sym* | plan9* | psp* | sim* | xray* | os68k* | v88r* \
diff -Naur binutils-2.37/gas/configure.tgt binutils-2.37.serenity/gas/configure.tgt
--- binutils-2.37/gas/configure.tgt 2021-07-08 13:37:19.000000000 +0200
+++ binutils-2.37.serenity/gas/configure.tgt 2021-07-28 18:03:58.972705458 +0200