aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSarah Morgensen <iskarian@mgsn.dev>2021-07-25 13:39:53 -0700
committerArun Isaac <arunisaac@systemreboot.net>2021-07-27 02:42:38 +0530
commit3344f70e4998da639c299d9bd4ac252eb6e28d32 (patch)
tree6b1bdeb8778c45774c491e0e3d65531b18b1c93c /gnu
parent274fcfb2516b630daba814ae247f2e3c818cea9a (diff)
downloadguix-3344f70e4998da639c299d9bd4ac252eb6e28d32.tar
guix-3344f70e4998da639c299d9bd4ac252eb6e28d32.tar.gz
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/web.scm7
1 files changed, 1 insertions, 6 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 0ac13112c2..a00e101385 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -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