diff options
author | Sarah Morgensen <iskarian@mgsn.dev> | 2021-07-25 13:39:53 -0700 |
---|---|---|
committer | Arun Isaac <arunisaac@systemreboot.net> | 2021-07-27 02:42:38 +0530 |
commit | 3344f70e4998da639c299d9bd4ac252eb6e28d32 (patch) | |
tree | 6b1bdeb8778c45774c491e0e3d65531b18b1c93c /gnu/packages | |
parent | 274fcfb2516b630daba814ae247f2e3c818cea9a (diff) | |
download | guix-patches-3344f70e4998da639c299d9bd4ac252eb6e28d32.tar guix-patches-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/packages')
-rw-r--r-- | gnu/packages/web.scm | 7 |
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 |