From 73e54b7d115ec0d4e7dc63ded9470788bd861645 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 17 Apr 2022 11:04:31 +0200 Subject: core/binutils: fix libiberty.a on i486 --- core/binutils/PKGBUILD | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'core') 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 -- cgit v1.2.3-54-g00ecf