diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-06-02 19:11:05 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-06-02 20:50:17 +0200 |
commit | 9b9bc1b061c5e1628d013bff917eaf040a035421 (patch) | |
tree | 6c68b3bea1ed490139510e838424b8a6b4bd5f4b /gnu/packages | |
parent | 33430a455e3c6b01a6edb4afb5febdf7b9c689af (diff) | |
download | guix-9b9bc1b061c5e1628d013bff917eaf040a035421.tar.gz |
gnu: pigz: Fix cross-compilation.
* gnu/packages/compression.scm (pigz)[arguments]: Use CC-FOR-TARGET.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/compression.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 568de1cfb2..a6b0273f76 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -875,7 +875,8 @@ extract such file systems.") (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/") |