mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-20 01:33:18 -05:00
gnu: libx86emu: Skip tests on non-x86 systems.
* gnu/packages/virtualization.scm (libx86emu)[arguments]: Skip tests when not building on an x86 system.
This commit is contained in:
parent
241c8da50d
commit
7ba1626113
1 changed files with 3 additions and 0 deletions
|
@ -620,6 +620,9 @@ (define-public libx86emu
|
|||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:test-target "test"
|
||||
;; sys/io.h is not present from glibc on non-x86 systems.
|
||||
#:tests? ,(and (target-x86?)
|
||||
(not (%current-target-system)))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch
|
||||
|
|
Loading…
Reference in a new issue