me
/
guix
Archived
1
0
Fork 0

gnu: iw: Use CC-FOR-TARGET.

* gnu/packages/linux.scm (iw)[arguments]: Use CC-FOR-TARGET.
master
Tobias Geerinckx-Rice 2020-06-02 21:41:32 +02:00
parent 898e8b528b
commit 56a9ef22e3
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 1 additions and 2 deletions

View File

@ -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)