diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-11-03 02:47:24 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-11-03 11:19:55 +0100 |
commit | e4b36ac1d427f01f2a172bba0e36b53355380f77 (patch) | |
tree | 8ec49fc683dcc036b0ff6c36d46965befcb87287 | |
parent | f10ccdd91a51e84591eea65af328aed629670f07 (diff) | |
download | guix-e4b36ac1d427f01f2a172bba0e36b53355380f77.tar guix-e4b36ac1d427f01f2a172bba0e36b53355380f77.tar.gz |
gnu: moreutils: Prepare for cross-compilation.
* gnu/packages/moreutils.scm (moreutils)[arguments]: Use CC-FOR-TARGET.
-rw-r--r-- | gnu/packages/moreutils.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/moreutils.scm b/gnu/packages/moreutils.scm index 81738677b6..8a31a0f676 100644 --- a/gnu/packages/moreutils.scm +++ b/gnu/packages/moreutils.scm @@ -23,6 +23,7 @@ #: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 @@ (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 |