From ca893b2a532c1cc9f490353fad8ae95c9f9f8b09 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 18 Feb 2022 21:23:56 +0100 Subject: core/gcc: more no-LTO trials on i486 --- core/gcc/PKGBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'core/gcc') 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 -- cgit v1.2.3