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>master
parent
274fcfb251
commit
3344f70e49
|
@ -7984,12 +7984,7 @@ solution for any project's interface needs:
|
|||
(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
|
||||
|
|
Reference in New Issue