summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/binutils/PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/binutils/PKGBUILD b/core/binutils/PKGBUILD
index bd35c2d6..c0177c21 100644
--- a/core/binutils/PKGBUILD
+++ b/core/binutils/PKGBUILD
@@ -57,13 +57,15 @@ else
fi
# i486-specific: disable PGO/LTO build, uses too much resources,
-# also disabling LTO for now
+# also disabling LTO for now, also disabling the gold linker
+# as it runs out of disk space (whatever that means)
if [ "${CARCH}" = "i486" ]; then
eval "$(
declare -f build | \
sed '
s/--enable-pgo-build=.*/--disable-pgo-build/
s/--enable-lto/--disable-lto/
+ s/--enable-gold/--disable-gold/
'
)"
fi