aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-10-04 16:00:25 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2021-10-04 16:01:18 +0200
commit766b779404e7ff1f65574248ab9ba1e652fd36b7 (patch)
tree8f5d18fc9269b65b8861213119fc9c9669806092 /gnu
parent09c3d1c1ff0d19e7606d280b88d2429159d6e6e8 (diff)
downloadguix-766b779404e7ff1f65574248ab9ba1e652fd36b7.tar.gz
guix-766b779404e7ff1f65574248ab9ba1e652fd36b7.zip
gnu: ncompress: Cross-compile.
* gnu/packages/compression.scm (ncompress)[arguments]: Use CC-FOR-TARGET.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/compression.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 71bf690c28..1fc5eb6522 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -2512,7 +2512,7 @@ possibly untrusted extraction shell script.")
(base32
"090kksxrlqnsdc76fzz2j2ajc98mhmfwyn163ca2ia9niqmlpcm0"))))
(arguments
- '(#:make-flags (list "CC=gcc"
+ `(#:make-flags (list (string-append "CC=" ,(cc-for-target))
(string-append "BINDIR=" %output "/bin")
(string-append "MANDIR=" %output "/share/man/man1"))
#:phases (modify-phases %standard-phases