aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/gl.scm
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2019-10-03 12:01:27 +0200
committerPierre Neidhardt <mail@ambrevar.xyz>2019-10-03 12:03:16 +0200
commitccbc1c5eb2f3cc1979902b6bfd3e7b31aa66e661 (patch)
tree94e4c832d4a03047d311785ded6d2fde6400566f /gnu/packages/gl.scm
parent2b2f7e5d8cd154c8bbf8d531d2edd6801956d36d (diff)
downloadpatches-ccbc1c5eb2f3cc1979902b6bfd3e7b31aa66e661.tar
patches-ccbc1c5eb2f3cc1979902b6bfd3e7b31aa66e661.tar.gz
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.
Diffstat (limited to 'gnu/packages/gl.scm')
-rw-r--r--gnu/packages/gl.scm3
1 files changed, 2 insertions, 1 deletions
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: <https://bugs.freedesktop.org/show_bug.cgi?id=110612>.
`((add-after 'unpack 'disable-failing-test