Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/gcc
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-02-18 21:23:56 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2022-02-18 21:23:56 +0100
commitca893b2a532c1cc9f490353fad8ae95c9f9f8b09 (patch)
tree84491cc7dbd2ef104ca76e11a3a61a483b606aa7 /core/gcc
parent4855c8fb13377cff63e5a83bec409dce8916e420 (diff)
core/gcc: more no-LTO trials on i486
Diffstat (limited to 'core/gcc')
-rw-r--r--core/gcc/PKGBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/gcc/PKGBUILD b/core/gcc/PKGBUILD
index b27a142c..38d08aec 100644
--- a/core/gcc/PKGBUILD
+++ b/core/gcc/PKGBUILD
@@ -123,7 +123,12 @@ if [ "${CARCH}" = "i486" ]; then
s/--enable-pgo-build=.*/--disable-pgo-build/
s/--enable-lto/--disable-lto/
'
- )"
+ declare -f package_gcc | \
+ sed '
+ /make.*lto-plugin.*install/d
+ /ln.*liblto_plugin.so/d
+ '
+ )"
fi
# no testing for now