guix-commits
[Top][All Lists]
Advanced

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

10/14: gnu: net-tools: Fix cross-compilation.


From: guix-commits
Subject: 10/14: gnu: net-tools: Fix cross-compilation.
Date: Tue, 2 Jun 2020 20:21:47 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 898e8b528b6bde0a699cac81532181050344a548
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Tue Jun 2 21:31:11 2020 +0200

    gnu: net-tools: Fix cross-compilation.
    
    * gnu/packages/linux.scm (net-tools)[arguments]: Use CC-FOR-TARGET.
---
 gnu/packages/linux.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 1e1ba78..12c37d8 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -2150,7 +2150,7 @@ inadequately in modern network environments, and both 
should be deprecated.")
       (home-page "http://net-tools.sourceforge.net/";)
       (build-system gnu-build-system)
       (arguments
-       '(#:modules ((guix build gnu-build-system)
+       `(#:modules ((guix build gnu-build-system)
                     (guix build utils)
                     (srfi srfi-1)
                     (srfi srfi-26))
@@ -2190,7 +2190,7 @@ inadequately in modern network environments, and both 
should be deprecated.")
 
          #:tests? #f                                ; no test suite
          #:make-flags (let ((out (assoc-ref %outputs "out")))
-                        (list "CC=gcc"
+                        (list ,(string-append "CC=" (cc-for-target))
                               (string-append "BASEDIR=" out)
                               (string-append "INSTALLNLSDIR=" out 
"/share/locale")
                               (string-append "mandir=/share/man")))))



reply via email to

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