[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/09: gnu: lvm2: Fix cross-compilation.
From: |
guix-commits |
Subject: |
05/09: gnu: lvm2: Fix cross-compilation. |
Date: |
Fri, 20 Sep 2019 04:18:00 -0400 (EDT) |
mothacehe pushed a commit to branch core-updates-next
in repository guix.
commit 6a99c3aac5e2c0bed610f3a1e1f2c35cd7577f1c
Author: Mathieu Othacehe <address@hidden>
Date: Mon Jul 8 14:12:32 2019 +0200
gnu: lvm2: Fix cross-compilation.
* gnu/packages/linux.scm (lvm2)[arguments]: Add cross-compilation specific
configure-flags.
---
gnu/packages/linux.scm | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 1dcbff4..f3f4222 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -2654,7 +2654,7 @@ time.")
(inputs
`(("udev" ,eudev)))
(arguments
- '(#:phases
+ `(#:phases
(modify-phases %standard-phases
(add-after 'configure 'set-makefile-shell
(lambda _
@@ -2689,7 +2689,12 @@ time.")
(assoc-ref %outputs "out")
"/lib,-rpath="
(assoc-ref %outputs "out")
- "/lib/device-mapper"))
+ "/lib/device-mapper")
+ ;; This is needed when cross-compiling.
+ ,@(if (%current-target-system)
+ '("ac_cv_func_malloc_0_nonnull=yes"
+ "ac_cv_func_realloc_0_nonnull=yes")
+ '()))
;; The tests use 'mknod', which requires root access.
#:tests? #f))
- branch core-updates-next updated (91acbda -> 3ed89b1), guix-commits, 2019/09/20
- 02/09: gnu: indent: Fix aarch64 cross-compilation., guix-commits, 2019/09/20
- 05/09: gnu: lvm2: Fix cross-compilation.,
guix-commits <=
- 01/09: gnu: libpaper: Fix aarch64 cross-compilation., guix-commits, 2019/09/20
- 04/09: gnu: mkfontdir: Fix aarch64 cross-compilation., guix-commits, 2019/09/20
- 07/09: gnu: procps: Fix cross-compilation., guix-commits, 2019/09/20
- 03/09: gnu: libsamplerate: Fix aarch64 cross-compilation., guix-commits, 2019/09/20
- 09/09: gnu: mdadm: Fix cross-compilation., guix-commits, 2019/09/20
- 06/09: gnu: nghttp2: Fix cross-compilation., guix-commits, 2019/09/20
- 08/09: gnu: console-setup: Fix cross-compilation., guix-commits, 2019/09/20