From 766b779404e7ff1f65574248ab9ba1e652fd36b7 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 4 Oct 2021 16:00:25 +0200 Subject: gnu: ncompress: Cross-compile. * gnu/packages/compression.scm (ncompress)[arguments]: Use CC-FOR-TARGET. --- gnu/packages/compression.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages') 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 -- cgit v1.2.3