me
/
guix
Archived
1
0
Fork 0

gnu: ode: Properly disable tests when cross-compiling.

* gnu/packages/game-development.scm (ode): Properly disable tests when
using (%current-target-system).
master
Nicolas Goaziou 2020-01-28 20:23:41 +01:00
parent e7c938b2bf
commit 07a7cccbac
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 3 additions and 3 deletions

View File

@ -1999,9 +1999,9 @@ a.k.a. XenoCollide) as described in Game Programming Gems 7.")
(build-system cmake-build-system)
(arguments
;; Tests fail on all systems but x86_64.
`(#:tests? ,(string=? "x86_64-linux"
(or (%current-target-system)
(%current-system)))
`(#:tests? ,(string-prefix? "x86_64-"
(or (%current-target-system)
(%current-system)))
#:configure-flags '("-DODE_WITH_LIBCCD_SYSTEM=ON")
#:phases
(modify-phases %standard-phases