summaryrefslogtreecommitdiff
path: root/core/binutils
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-02-18 17:56:37 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2022-02-18 17:56:37 +0100
commitbf176dd9e63691a5950aaa6edf2b3f5370a19c15 (patch)
treef933b90215b868c588f93fb704f1eb442edb847b /core/binutils
parent7c77559188f16a6ea7a68e73392862e8cf794f70 (diff)
downloadpackages-bf176dd9e63691a5950aaa6edf2b3f5370a19c15.tar.xz
core/binutils: disabling gold linker on i486
Diffstat (limited to 'core/binutils')
-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