From 3344f70e4998da639c299d9bd4ac252eb6e28d32 Mon Sep 17 00:00:00 2001 From: Sarah Morgensen Date: Sun, 25 Jul 2021 13:39:53 -0700 Subject: 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 --- gnu/packages/web.scm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'gnu/packages/web.scm') 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 -- cgit v1.2.3