guix-commits
[Top][All Lists]
Advanced

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

07/07: gnu: maradns: Use CC-FOR-TARGET.


From: guix-commits
Subject: 07/07: gnu: maradns: Use CC-FOR-TARGET.
Date: Sat, 11 Jul 2020 08:41:13 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit de53ddb54a5dc4c529169cc578e76bde999c296b
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sat Jul 11 14:40:03 2020 +0200

    gnu: maradns: Use CC-FOR-TARGET.
    
    * gnu/packages/dns.scm (maradns)[arguments]: Use CC-FOR-TARGET.
---
 gnu/packages/dns.scm | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
index 93bf9f47..f96eeda 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



reply via email to

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