summaryrefslogtreecommitdiff
path: root/core/binutils/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/binutils/PKGBUILD')
-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