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
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -659,6 +659,12 @@ (define-public lziprecover
(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