From 369543cc36e9e8c0250234b7e450a4673bdfb868 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 22 Aug 2021 09:43:58 +0200 Subject: extra/mesa: SSE2 is the default now, disable it on i686 and i486 --- extra/mesa/PKGBUILD | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'extra') diff --git a/extra/mesa/PKGBUILD b/extra/mesa/PKGBUILD index 9978cced..1a4ca069 100644 --- a/extra/mesa/PKGBUILD +++ b/extra/mesa/PKGBUILD @@ -130,3 +130,13 @@ if [ "$CARCH" = 'i486' ]; then depends+=(libxshmfence) depends+=(wayland) fi + +# 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 -- cgit v1.2.3-54-g00ecf