nckx pushed a commit to branch master
in repository guix.

commit d579df680e38bde3ab94373ae1b293caa28015b9
Author: Tobias Geerinckx-Rice <[email protected]>
AuthorDate: Tue Oct 26 02:01:53 2021 +0200

    gnu: darkhttpd: Cross-compile.
    
    * gnu/packages/web.scm (darkhttpd)[arguments]: Use CC-FOR-TARGET.
---
 gnu/packages/web.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 2bd3c4e..d7df307 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5803,7 +5803,8 @@ and similar services.")
         (base32 "0w11xq160q9yyffv4mw9ncp1n0dl50d9plmwxb0yijaaxls9i4sk"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:make-flags '("CC=gcc")
+     `(#:make-flags
+       (list (string-append "CC=" ,(cc-for-target)))
        #:tests? #f ; No test suite
        #:phases
        (modify-phases %standard-phases

Reply via email to