summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-10-03 16:22:44 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2021-10-03 19:23:50 +0200
commit169ae280af242e32ef76da971ab9ec3ed7796956 (patch)
treed501bc81d8532f3c4d414dfd8a481ea6398b9855 /gnu/packages
parent55483f8c443b6a9c310cde3457871105428178ee (diff)
downloadguix-169ae280af242e32ef76da971ab9ec3ed7796956.tar.gz
gnu: dnsmasq: Prepare for cross-compilation.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Use CC-FOR-TARGET.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/dns.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
index a01fcd71c9..6400b9aff3 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")