Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-02-18 17:43:49 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2022-02-18 17:43:49 +0100
commit7c77559188f16a6ea7a68e73392862e8cf794f70 (patch)
treee1d1838296af625afceb349a24fff95dc1ed337a
parentf6ead586573aceee15e610bbf9969c09557fff0e (diff)
core/binutils: LTO and PGO disabled on i486
-rw-r--r--core/binutils/PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/binutils/PKGBUILD b/core/binutils/PKGBUILD
index 3c6de6b6..bd35c2d6 100644
--- a/core/binutils/PKGBUILD
+++ b/core/binutils/PKGBUILD
@@ -56,12 +56,14 @@ else
)"
fi
-# i486-specific: disable PGO/LTO build, uses too much resources
+# i486-specific: disable PGO/LTO build, uses too much resources,
+# also disabling LTO for now
if [ "${CARCH}" = "i486" ]; then
eval "$(
declare -f build | \
sed '
s/--enable-pgo-build=.*/--disable-pgo-build/
+ s/--enable-lto/--disable-lto/
'
)"
fi