From 56a9ef22e3044134844f0093e2a3905f73dd830f Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 2 Jun 2020 21:41:32 +0200 Subject: gnu: iw: Use CC-FOR-TARGET. * gnu/packages/linux.scm (iw)[arguments]: Use CC-FOR-TARGET. --- gnu/packages/linux.scm | 3 +-- 1 file changed, 1 insertion(+), 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) -- cgit 1.4.1