gnu: moreutils: Prepare for cross-compilation.

* gnu/packages/moreutils.scm (moreutils)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
Tobias Geerinckx-Rice 2021-11-03 02:47:24 +01:00
parent f10ccdd91a
commit e4b36ac1d4
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -23,6 +23,7 @@ (define-module (gnu packages moreutils)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (guix utils)
#:use-module (gnu packages perl)
#:use-module (gnu packages xml)
#:use-module (gnu packages docbook))
@ -66,7 +67,7 @@ (define-public moreutils
(assoc-ref %build-inputs "docbook-xsl") "/xml/xsl/"
,(package-name docbook-xsl) "-"
,(package-version docbook-xsl))
"CC=gcc")))
(string-append "CC=" ,(cc-for-target)))))
(home-page "https://joeyh.name/code/moreutils/")
(synopsis "Miscellaneous general-purpose command-line tools")
(description