nckx pushed a commit to branch master
in repository guix.

commit 169ae280af242e32ef76da971ab9ec3ed7796956
Author: Tobias Geerinckx-Rice <[email protected]>
AuthorDate: Sun Oct 3 16:22:44 2021 +0200

    gnu: dnsmasq: Prepare for cross-compilation.
    
    * gnu/packages/dns.scm (dnsmasq)[arguments]: Use CC-FOR-TARGET.
---
 gnu/packages/dns.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
index a01fcd7..6400b9a 100644
--- a/gnu/packages/dns.scm
+++ b/gnu/packages/dns.scm
@@ -296,7 +296,7 @@ prompt the user with the option to go with insecure DNS 
only.")
      `(#:phases
        (modify-phases %standard-phases (delete 'configure))
        #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
-                          "CC=gcc"
+                          (string-append "CC=" ,(cc-for-target))
                           "COPTS=\"-DHAVE_DBUS\"")
        #:tests? #f))                    ; no ‘check’ target
     (home-page "http://www.thekelleys.org.uk/dnsmasq/doc.html";)

Reply via email to