[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/10: gnu: mtd-utils: Fix cross-compiling.
From: |
guix-commits |
Subject: |
04/10: gnu: mtd-utils: Fix cross-compiling. |
Date: |
Mon, 7 Mar 2022 15:56:24 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 67d6544b6dfacca4abf6390c64cd6cb98c52a498
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 7 22:39:53 2022 +0200
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.
---
gnu/packages/linux.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
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
- branch master updated (dc1e2ce72c -> 34ba6e0616), guix-commits, 2022/03/07
- 01/10: gnu: libopenmpt: Update dependencies., guix-commits, 2022/03/07
- 04/10: gnu: mtd-utils: Fix cross-compiling.,
guix-commits <=
- 02/10: gnu: libxrender: Fix cross compiling to riscv64-linux., guix-commits, 2022/03/07
- 06/10: gnu: squashfs-tools: Fix cross-compiling., guix-commits, 2022/03/07
- 03/10: gnu: libjpeg-turbo: Fix cross-compiling to riscv64-linux., guix-commits, 2022/03/07
- 07/10: build-system/meson: Add more cross-compilation targets., guix-commits, 2022/03/07
- 09/10: gnu: dtc: Use pkg-config-for-target., guix-commits, 2022/03/07
- 10/10: system: Set kernel name for riscv64-linux., guix-commits, 2022/03/07
- 05/10: gnu: libcap: Fix cross-compiling., guix-commits, 2022/03/07
- 08/10: gnu: dtc: Use different source tarball., guix-commits, 2022/03/07