gnu: ncompress: Cross-compile.

* gnu/packages/compression.scm (ncompress)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
Tobias Geerinckx-Rice 2021-10-04 16:00:25 +02:00
parent 09c3d1c1ff
commit 766b779404
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -2512,7 +2512,7 @@ (define-public ncompress
(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