Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/mesa/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mesa/PKGBUILD')
-rw-r--r--extra/mesa/PKGBUILD7
1 files changed, 6 insertions, 1 deletions
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 | \