gnu: pigz: Fix cross-compilation.

* gnu/packages/compression.scm (pigz)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
Tobias Geerinckx-Rice 2020-06-02 19:11:05 +02:00
parent 33430a455e
commit 9b9bc1b061
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -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/")