summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-06-02 19:11:05 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2020-06-02 20:50:17 +0200
commit9b9bc1b061c5e1628d013bff917eaf040a035421 (patch)
tree6c68b3bea1ed490139510e838424b8a6b4bd5f4b /gnu/packages
parent33430a455e3c6b01a6edb4afb5febdf7b9c689af (diff)
downloadguix-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.scm3
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/")