mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: pigz: Fix cross-compilation.
* gnu/packages/compression.scm (pigz)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
parent
33430a455e
commit
9b9bc1b061
1 changed files with 2 additions and 1 deletions
|
@ -875,7 +875,8 @@ (define-public pigz
|
|||
(symlink "pigz" (string-append bin "/unpigz"))
|
||||
(install-file "pigz.1" man)
|
||||
#t))))
|
||||
#:make-flags (list "CC=gcc")
|
||||
#:make-flags
|
||||
(list ,(string-append "CC=" (cc-for-target)))
|
||||
#:test-target "tests"))
|
||||
(inputs `(("zlib" ,zlib)))
|
||||
(home-page "https://zlib.net/pigz/")
|
||||
|
|
Loading…
Reference in a new issue