diff options
author | Christopher Baines <mail@cbaines.net> | 2022-10-13 13:44:51 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2022-10-16 18:18:37 +0100 |
commit | c3e103129d1fac8460e4e01e46749a0a72248ead (patch) | |
tree | 7d16e1afa3fe177c815daeaad71206d70ee0e248 /gnu/packages | |
parent | 69bbb720db7a77b4a8cd2973fb8e9a794b3213d3 (diff) | |
download | guix-c3e103129d1fac8460e4e01e46749a0a72248ead.tar.gz |
gnu: lziprecover: Fix cross-compilation.
* gnu/packages/comression.scm (lziprecover)[arguments]: Set CXX when cross compiling. Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/compression.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index dd0caa10ab..f2bf5c443c 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -659,6 +659,12 @@ archiving. Lzip is a clean implementation of the LZMA algorithm.") (base32 "0wmmyi03fv2lflsir5ldrsv04q57k3hmlqajzb1m3p86gwbh967j")))) (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/lziprecover.html") (synopsis "Recover and decompress data from damaged lzip files") (description |