mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: scdoc: Cross-compile.
* gnu/packages/man.scm (scdoc)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
parent
841e5fb4dd
commit
24f1ce9e71
1 changed files with 3 additions and 1 deletions
|
@ -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))))
|
||||
|
|
Loading…
Reference in a new issue