summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2020-05-14 14:57:56 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2020-05-14 14:57:56 +0200
commit970e9132664d4f7515faacf9215e12734f44c55c (patch)
treeefae5d95cc74319c0116de800c99e203ec55db62
parent6c02b1bd9125458e734b4d892d62b0d90dd5bade (diff)
downloadpackages-970e9132664d4f7515faacf9215e12734f44c55c.tar.xz
core/binutils: readded --enable-64-bit-bfd
-rw-r--r--core/binutils/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/binutils/PKGBUILD b/core/binutils/PKGBUILD
index 02e8d5f9..359cfb64 100644
--- a/core/binutils/PKGBUILD
+++ b/core/binutils/PKGBUILD
@@ -6,6 +6,15 @@ eval "$(
'
)"
+# enable BFD for x86_64 other we have problems with cross-compilation
+# or compiling things like grub
+eval "$(
+ declare -f build | \
+ sed '
+ s/--enable/--enable-64-bit-bfd \0/
+ '
+)"
+
# segfaults in ld of binutils 2.30 needs the binutils_2_30 branch
# for now, see https://sourceware.org/bugzilla/show_bug.cgi?id=23194
# this patch was done by diffing the branch against the tag and removing