Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/binutils/PKGBUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/binutils/PKGBUILD b/core/binutils/PKGBUILD
index cd9dd9a2..c275c111 100644
--- a/core/binutils/PKGBUILD
+++ b/core/binutils/PKGBUILD
@@ -59,6 +59,8 @@ fi
# i486-specific: disable PGO/LTO build, uses too much resources,
# also disabling LTO for now, also disabling the gold linker
# as it runs out of disk space (whatever that means)
+# also use the normal version of libiberty.a, there is no PIC
+# version on i486 for now
if [ "${CARCH}" = "i486" ]; then
eval "$(
declare -f build | \
@@ -67,6 +69,10 @@ if [ "${CARCH}" = "i486" ]; then
s/--enable-lto/--disable-lto/
s/--enable-gold/--disable-gold/
'
+ declare -f package | \
+ sed '
+ /pic\/libiberty.a/d
+ '
)"
fi