From 01a0132a1f6209640d71ce728d029187fd1644d9 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 4 Feb 2022 07:36:10 +0100 Subject: extra/qt5-base: do not build with LTO on i486 (out-of-space) --- extra/qt5-base/PKGBUILD | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'extra/qt5-base') diff --git a/extra/qt5-base/PKGBUILD b/extra/qt5-base/PKGBUILD index a5a0a8e6..b7db1fd6 100644 --- a/extra/qt5-base/PKGBUILD +++ b/extra/qt5-base/PKGBUILD @@ -17,3 +17,13 @@ if [ "$CARCH" = 'i486' ]; then ' )" fi + +# no LTO on 486 slaves, they die with out-of-memory +if [ "$CARCH" = 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + s/\(.*qmake *\)CONFIG+=fat-static-lto\(.*\)/\1 \2/ + ' + )" +fi -- cgit v1.2.3-54-g00ecf