[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
27/33: gnu: lvm2: Fix cross-compilation.
From: |
guix-commits |
Subject: |
27/33: gnu: lvm2: Fix cross-compilation. |
Date: |
Tue, 24 Sep 2019 02:17:50 -0400 (EDT) |
mothacehe pushed a commit to branch core-updates-next
in repository guix.
commit eff633257cc191d33b93cb1ada6ef34daa969c00
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 32b0cd0..7ac5a77 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))
- 02/33: gnu: python: Fix cross compilation., (continued)
- 02/33: gnu: python: Fix cross compilation., guix-commits, 2019/09/24
- 06/33: gnu: xorg: Fix cross-compilation of multiple packages., guix-commits, 2019/09/24
- 05/33: gnu: libxslt: Fix cross-compilation., guix-commits, 2019/09/24
- 08/33: gnu: http-parser: Fix cross-compilation., guix-commits, 2019/09/24
- 09/33: gnu: libgit2: Fix cross compilation., guix-commits, 2019/09/24
- 13/33: gnu: xmlto: Fix cross-compilation., guix-commits, 2019/09/24
- 10/33: gnu: ath9k-htc-firmware: Fix cross compilation., guix-commits, 2019/09/24
- 12/33: gnu: help2man: Fix cross-compilation., guix-commits, 2019/09/24
- 24/33: gnu: indent: Fix aarch64 cross-compilation., guix-commits, 2019/09/24
- 23/33: gnu: libpaper: Fix aarch64 cross-compilation., guix-commits, 2019/09/24
- 27/33: gnu: lvm2: Fix cross-compilation.,
guix-commits <=
- 07/33: gnu: python: Further cross-compilation fixes., guix-commits, 2019/09/24
- 33/33: gnu: libtool: Fix cross-compilation., guix-commits, 2019/09/24
- 21/33: gnu: guile-xcb: Fix cross-compilation., guix-commits, 2019/09/24
- 30/33: gnu: console-setup: Fix cross-compilation., guix-commits, 2019/09/24
- 15/33: gnu: tcsh: Fix cross-compilation., guix-commits, 2019/09/24
- 14/33: gnu: libarchive: Fix cross-compilation., guix-commits, 2019/09/24
- 18/33: gnu: texinfo: Fix cross-compilation., guix-commits, 2019/09/24
- 26/33: gnu: mkfontdir: Fix aarch64 cross-compilation., guix-commits, 2019/09/24
- 22/33: gnu: libgpg-error: Fix cross compilation., guix-commits, 2019/09/24
- 29/33: gnu: procps: Fix cross-compilation., guix-commits, 2019/09/24