diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2022-03-07 22:39:53 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2022-03-07 22:53:56 +0200 |
commit | 67d6544b6dfacca4abf6390c64cd6cb98c52a498 (patch) | |
tree | cb9e5c1ed17c3bf227e6f4db67d8c738e608a4cb /gnu | |
parent | df03e7a60136aef8e804b1ee90c5fdf99c38713b (diff) | |
download | guix-67d6544b6dfacca4abf6390c64cd6cb98c52a498.tar guix-67d6544b6dfacca4abf6390c64cd6cb98c52a498.tar.gz |
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.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/linux.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index f3b05b037c..2a69ba1447 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -6610,7 +6610,10 @@ exceeded.") (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 |