1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-20 17:20:32 +02:00

gnu: lziprecover: Fix cross-compilation.

* gnu/packages/comression.scm (lziprecover)[arguments]: Set CXX when cross
compiling.

Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Christopher Baines
2022-10-13 13:44:51 +01:00
parent 69bbb720db
commit c3e103129d

View File

@@ -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