diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-03-17 20:09:18 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-03-17 21:22:21 +0100 |
commit | 24f1ce9e71a4f2fc7370cefb42c04cb669397fcf (patch) | |
tree | ec7f67aea5682ab3f7f7cc189ebc6f78f35fcf80 /gnu/packages | |
parent | 841e5fb4ddff7f29c06cf9faea65cfe5626fde20 (diff) | |
download | guix-24f1ce9e71a4f2fc7370cefb42c04cb669397fcf.tar.gz |
gnu: scdoc: Cross-compile.
* gnu/packages/man.scm (scdoc)[arguments]: Use CC-FOR-TARGET.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/man.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm index d6ace365fc..c021a1e2e4 100644 --- a/gnu/packages/man.scm +++ b/gnu/packages/man.scm @@ -31,6 +31,7 @@ #:use-module (guix packages) #:use-module (guix build-system gnu) #:use-module (guix build-system ruby) + #:use-module (guix utils) #:use-module (gnu packages dbm) #:use-module (gnu packages flex) #:use-module (gnu packages gawk) @@ -303,7 +304,8 @@ automatically.") (build-system gnu-build-system) (arguments `(#:make-flags - (list "CC=gcc" (string-append "PREFIX=" (assoc-ref %outputs "out"))) + (list (string-append "CC=" ,(cc-for-target)) + (string-append "PREFIX=" (assoc-ref %outputs "out"))) #:phases (modify-phases %standard-phases (delete 'configure)))) |