gnu: scdoc: Cross-compile.

* gnu/packages/man.scm (scdoc)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
Tobias Geerinckx-Rice 2021-03-17 20:09:18 +01:00
parent 841e5fb4dd
commit 24f1ce9e71
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -31,6 +31,7 @@ (define-module (gnu packages man)
#: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 @@ (define-public scdoc
(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))))