me
/
guix
Archived
1
0
Fork 0

gnu: scdoc: Cross-compile.

* gnu/packages/man.scm (scdoc)[arguments]: Use CC-FOR-TARGET.
master
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
1 changed files with 3 additions and 1 deletions

View File

@ -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))))