mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-20 05:37:34 -05:00
gnu: gmnisrv: Use #:make-flags, and cross-compile.
gnu/packages/web.scm (gmnisrv)[arguments]<#:phases>{set-variables}: Move 'CC=' to... <#:make-flags>: ...here, and support cross-compilation with (cc-for-target). Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
This commit is contained in:
parent
274fcfb251
commit
3344f70e49
1 changed files with 1 additions and 6 deletions
|
@ -7984,12 +7984,7 @@ (define-public gmnisrv
|
|||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; no check target
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'configure 'set-variables
|
||||
(lambda _
|
||||
(setenv "CC" "gcc")
|
||||
#t)))))
|
||||
#:make-flags (list (string-append "CC=" ,(cc-for-target)))))
|
||||
(inputs
|
||||
`(("openssl" ,openssl)))
|
||||
(native-inputs
|
||||
|
|
Loading…
Reference in a new issue