aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/linux.scm5
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