d/rules: Work around llvmpipe segfault on mipsel by forcing softpipe
authorSimon McVittie <smcv@debian.org>
Sat, 14 May 2022 16:05:54 +0000 (17:05 +0100)
committerSimon McVittie <smcv@debian.org>
Sat, 14 May 2022 23:21:16 +0000 (00:21 +0100)
Mitigates: #1010838

debian/rules

index 8c72b135558b49c75d3961304915aa3fc6a23400..094f60e7e1029c927bf3e27b299c920765203ddf 100755 (executable)
@@ -255,6 +255,11 @@ ifeq (big,$(DEB_HOST_ARCH_ENDIAN))
                $(NULL)
 endif
 
+# Workaround for https://bugs.debian.org/1010838
+ifeq (mipsel,$(DEB_HOST_ARCH_CPU))
+export GALLIUM_DRIVER=softpipe
+endif
+
 override_dh_auto_test:
        env \
                BUILDDIR=debian/build/deb \