From c9edcbedf149ff3881523ee1475d8d4c7a7bb84c Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 16 Jun 2022 16:44:27 +0200 Subject: extra/mesa-amber: redone non-lto on i486 --- extra/mesa/PKGBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'extra/mesa') diff --git a/extra/mesa/PKGBUILD b/extra/mesa/PKGBUILD index 122512e9..b99acf24 100644 --- a/extra/mesa/PKGBUILD +++ b/extra/mesa/PKGBUILD @@ -8,7 +8,12 @@ if [ "$CARCH" = 'i686' -o "$CARCH" = 'i486' ]; then )" fi -# LTO on i486 results in 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-54-g00ecf