[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/07: gnu: lzip: Fix cross-compilation.
From: |
guix-commits |
Subject: |
03/07: gnu: lzip: Fix cross-compilation. |
Date: |
Sun, 16 Oct 2022 14:15:27 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit 69bbb720db7a77b4a8cd2973fb8e9a794b3213d3
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Thu Oct 13 13:37:46 2022 +0100
gnu: lzip: Fix cross-compilation.
Previously the package would build, but the binaries would be build for the
host system, rather than the target.
* gnu/packages/compression.scm (lzip)[arguments]: Set CXX when cross
compiling.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/compression.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 684979018c..dd0caa10ab 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -632,6 +632,12 @@ some compression ratio).")
(base32
"0j59hx72258334rmkwn57ahr6s69nlrx0a5ip1jw2fbiwr12sd63"))))
(build-system gnu-build-system)
+ (arguments
+ ;; The configure script doesn't recognise the --build or --host
+ ;; arguments, so set CXX here
+ `(,@(if (%current-target-system)
+ `(#:make-flags (list ,(string-append "CXX=" (cxx-for-target))))
+ '())))
(home-page "https://www.nongnu.org/lzip/lzip.html")
(synopsis "Lossless data compressor based on the LZMA algorithm")
(description
- branch master updated (8488fa5df3 -> 8bbfa8b26f), guix-commits, 2022/10/16
- 01/07: gnu: Add textpieces., guix-commits, 2022/10/16
- 02/07: gnu: Add python-dotmap, guix-commits, 2022/10/16
- 05/07: gnu: Add s3cmd., guix-commits, 2022/10/16
- 03/07: gnu: lzip: Fix cross-compilation.,
guix-commits <=
- 04/07: gnu: lziprecover: Fix cross-compilation., guix-commits, 2022/10/16
- 06/07: gnu: 0ad: Update to 0.0.26-alpha., guix-commits, 2022/10/16
- 07/07: gnu: guix-build-coordinator: Update to 0-64.f051c28., guix-commits, 2022/10/16