gnu: ode: Properly disable tests when cross-compiling.
* gnu/packages/game-development.scm (ode): Properly disable tests when using (%current-target-system).
This commit is contained in:
parent
e7c938b2bf
commit
07a7cccbac
@ -1999,9 +1999,9 @@ a.k.a. XenoCollide) as described in Game Programming Gems 7.")
|
|||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
;; Tests fail on all systems but x86_64.
|
;; Tests fail on all systems but x86_64.
|
||||||
`(#:tests? ,(string=? "x86_64-linux"
|
`(#:tests? ,(string-prefix? "x86_64-"
|
||||||
(or (%current-target-system)
|
(or (%current-target-system)
|
||||||
(%current-system)))
|
(%current-system)))
|
||||||
#:configure-flags '("-DODE_WITH_LIBCCD_SYSTEM=ON")
|
#:configure-flags '("-DODE_WITH_LIBCCD_SYSTEM=ON")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
Loading…
Reference in New Issue
Block a user