mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05: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:
parent
69bbb720db
commit
c3e103129d
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue