aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-06-02 21:41:32 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2020-06-03 02:21:23 +0200
commit56a9ef22e3044134844f0093e2a3905f73dd830f (patch)
tree62eaf9eeeb4c22336a3912258370fad358e1d994 /gnu
parent898e8b528b6bde0a699cac81532181050344a548 (diff)
downloadguix-56a9ef22e3044134844f0093e2a3905f73dd830f.tar
guix-56a9ef22e3044134844f0093e2a3905f73dd830f.tar.gz
gnu: iw: Use CC-FOR-TARGET.
* gnu/packages/linux.scm (iw)[arguments]: Use CC-FOR-TARGET.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/linux.scm3
1 files changed, 1 insertions, 2 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 12c37d8c51..0a935d529d 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -2414,12 +2414,11 @@ configuration and monitoring interfaces.")
(arguments
`(#:make-flags
(let* ((target ,(%current-target-system))
- (gcc (if target (string-append target "-gcc") "gcc"))
(pkg-config (if target
(string-append target "-pkg-config")
"pkg-config")))
(list
- (string-append "CC=" gcc)
+ ,(string-append "CC=" (cc-for-target))
(string-append "PKG_CONFIG="
(assoc-ref %build-inputs "pkg-config")
"/bin/" pkg-config)