From ccbc1c5eb2f3cc1979902b6bfd3e7b31aa66e661 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Thu, 3 Oct 2019 12:01:27 +0200 Subject: gnu: mesa: Disable faulty test on i686 also when cross-compiling. * gnu/packages/gl.scm (mesa)[arguments]: Fix 'patch-create_test_cases phase for cross-compilation. --- gnu/packages/gl.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index bfa80b1e13..ec3a5d8cee 100644 --- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -342,7 +342,8 @@ also known as DXTn or DXTC) for Mesa.") (substitute* "src/intel/genxml/gen_pack_header.py" (("/usr/bin/env python2") (which "python"))) #t)) - ,@(if (string-prefix? "i686" (%current-system)) + ,@(if (string-prefix? "i686" (or (%current-target-system) + (%current-system))) ;; Disable new test from Mesa 19 that fails on i686. Upstream ;; report: . `((add-after 'unpack 'disable-failing-test -- cgit 1.4.1