summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-07-11 14:40:03 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2020-07-11 14:40:30 +0200
commitde53ddb54a5dc4c529169cc578e76bde999c296b (patch)
tree5129544dcf014eea0ebceeb8e53045429b117af4 /gnu
parent0ac915008a77989603c4771225d9cfc08c62a1ef (diff)
downloadguix-de53ddb54a5dc4c529169cc578e76bde999c296b.tar.gz
gnu: maradns: Use CC-FOR-TARGET.
* gnu/packages/dns.scm (maradns)[arguments]: Use CC-FOR-TARGET.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/dns.scm6
1 files changed, 1 insertions, 5 deletions
diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
index 93bf9f4741..f96eeda029 100644
--- a/gnu/packages/dns.scm
+++ b/gnu/packages/dns.scm
@@ -966,11 +966,7 @@ known public suffixes.")
      `(#:tests? #f                      ; need to be root to run tests
        #:make-flags
        (list
-        (string-append "CC="
-                       (if ,(%current-target-system)
-                           (string-append (assoc-ref %build-inputs "cross-gcc")
-                                          "/bin/" ,(%current-target-system) "-gcc")
-                           "gcc"))
+        ,(string-append "CC=" (cc-for-target))
         (string-append "PREFIX=" %output)
         (string-append "RPM_BUILD_ROOT=" %output))
        #:phases