mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: mtd-utils: Fix cross-compiling.
* gnu/packages/linux.scm (mtd-utils)[arguments]: Only add configure-flag to enable unit-tests when not cross compiling.
This commit is contained in:
parent
df03e7a601
commit
67d6544b6d
1 changed files with 4 additions and 1 deletions
|
@ -6610,7 +6610,10 @@ (define-public mtd-utils
|
|||
(base32
|
||||
"1mp9fqgnz5r69s8ly98ry6k2blqnaqpllwi8m930dm0n8zrwbm4a"))))
|
||||
(arguments
|
||||
'(#:configure-flags '("--enable-unit-tests")))
|
||||
(list #:configure-flags
|
||||
(if (%current-target-system) ; When cross-compiling.
|
||||
#~(list)
|
||||
#~(list "--enable-unit-tests"))))
|
||||
(native-inputs
|
||||
(list cmocka pkg-config))
|
||||
(inputs
|
||||
|
|
Loading…
Reference in a new issue