summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-06-02 21:31:11 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2020-06-03 02:21:23 +0200
commit898e8b528b6bde0a699cac81532181050344a548 (patch)
treecbd27480225448f12c7efbe615b1fa1164b5fcdc
parentgnu: lemonbar: Fix cross-compilation. (diff)
downloadguix-898e8b528b6bde0a699cac81532181050344a548.tar.gz
guix-898e8b528b6bde0a699cac81532181050344a548.tar.bz2
guix-898e8b528b6bde0a699cac81532181050344a548.tar.xz
gnu: net-tools: Fix cross-compilation.
* gnu/packages/linux.scm (net-tools)[arguments]: Use CC-FOR-TARGET.
-rw-r--r--gnu/packages/linux.scm4
1 files 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.")
2150 (home-page "http://net-tools.sourceforge.net/") 2150 (home-page "http://net-tools.sourceforge.net/")
2151 (build-system gnu-build-system) 2151 (build-system gnu-build-system)
2152 (arguments 2152 (arguments
2153 '(#:modules ((guix build gnu-build-system) 2153 `(#:modules ((guix build gnu-build-system)
2154 (guix build utils) 2154 (guix build utils)
2155 (srfi srfi-1) 2155 (srfi srfi-1)
2156 (srfi srfi-26)) 2156 (srfi srfi-26))
@@ -2190,7 +2190,7 @@ inadequately in modern network environments, and both should be deprecated.")
2190 2190
2191 #:tests? #f ; no test suite 2191 #:tests? #f ; no test suite
2192 #:make-flags (let ((out (assoc-ref %outputs "out"))) 2192 #:make-flags (let ((out (assoc-ref %outputs "out")))
2193 (list "CC=gcc" 2193 (list ,(string-append "CC=" (cc-for-target))
2194 (string-append "BASEDIR=" out) 2194 (string-append "BASEDIR=" out)
2195 (string-append "INSTALLNLSDIR=" out "/share/locale") 2195 (string-append "INSTALLNLSDIR=" out "/share/locale")
2196 (string-append "mandir=/share/man"))))) 2196 (string-append "mandir=/share/man")))))