index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-09-30 09:17:30 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-09-30 09:17:30 +0200 |
commit | 430b7b0133da451a81d400a6a751f45b382ba300 (patch) | |
tree | 02784e6d0c7eeba1985e27c3f4a421480a14c35d /extra/mesa/PKGBUILD | |
parent | a8aa9f21dcd9914b68454562dae16cdf82ce028f (diff) |
-rw-r--r-- | extra/mesa/PKGBUILD | 10 |
diff --git a/extra/mesa/PKGBUILD b/extra/mesa/PKGBUILD index 1a4ca069..1a597eca 100644 --- a/extra/mesa/PKGBUILD +++ b/extra/mesa/PKGBUILD @@ -140,3 +140,13 @@ if [ "$CARCH" = 'i686' -o "$CARCH" = 'i486' ]; then ' )" fi + +# LTO on i486 results in out-of-memory +if [ "$CARCH" == 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + s/-D b_lto=true/-D b_lto=false/ + ' + )" +fi |