From b5b9166f128efd41064aed582718fb3fa60e91af Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 16 Jun 2022 17:38:16 +0200 Subject: extra/qt5-base: another brutal LTO disabler on i486 --- extra/qt5-base/PKGBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/extra/qt5-base/PKGBUILD b/extra/qt5-base/PKGBUILD index 1a79f2de..7b301389 100644 --- a/extra/qt5-base/PKGBUILD +++ b/extra/qt5-base/PKGBUILD @@ -18,7 +18,12 @@ if [ "$CARCH" = 'i486' ]; then )" fi -# no LTO on 486 slaves, they die with out-of-memory +# no LTO on i486 +if [ "$CARCH" = 'i486' ]; then + sed -i ' + 1i options=(!lto) + ' PKGBUILD +fi if [ "$CARCH" = 'i486' ]; then eval "$( declare -f build | \ -- cgit v1.2.3-70-g09d2