guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

14/23: gnu: dnsmasq: Prepare for cross-compilation.


From: guix-commits
Subject: 14/23: gnu: dnsmasq: Prepare for cross-compilation.
Date: Sun, 3 Oct 2021 13:28:21 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 169ae280af242e32ef76da971ab9ec3ed7796956
Author: Tobias Geerinckx-Rice <me@tobias.gr>
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

[Prev in Thread] Current Thread [Next in Thread]