index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2022-04-23 12:03:17 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2022-04-23 12:03:17 +0200 |
commit | 6f393709c7e6386a17060869b8d30406b63c1830 (patch) | |
tree | caaa3bcb52ffc5c477b279d7a23f5db5e50bf56a /extra | |
parent | 1a83d6ead27d9afe8b68843b4085b69a5fdf7931 (diff) |
-rw-r--r-- | extra/mesa-amber/PKGBUILD | 19 |
diff --git a/extra/mesa-amber/PKGBUILD b/extra/mesa-amber/PKGBUILD index e69de29b..9f521908 100644 --- a/extra/mesa-amber/PKGBUILD +++ b/extra/mesa-amber/PKGBUILD @@ -0,0 +1,19 @@ +# defaults changed to SSE2 enabled by default, disable it +if [ "$CARCH" = 'i686' -o "$CARCH" = 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + s/arch-meson /arch-meson -Dsse2=false / + ' + )" +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 |