From 169ae280af242e32ef76da971ab9ec3ed7796956 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 3 Oct 2021 16:22:44 +0200 Subject: 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(-) (limited to 'gnu/packages/dns.scm') 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") -- cgit v1.2.3