mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: moreutils: Prepare for cross-compilation.
* gnu/packages/moreutils.scm (moreutils)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
parent
f10ccdd91a
commit
e4b36ac1d4
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue