Archived
1
0
Fork 0

gnu: i2c-tools: Actually cross-compile.

* gnu/packages/linux.scm (i2c-tools)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
Tobias Geerinckx-Rice 2020-06-03 01:26:13 +02:00
parent c45431a283
commit 1f0e1c49aa
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -3597,8 +3597,8 @@ create a firmware image suitable for the Linux kernel, and more.")
(arguments (arguments
`(#:tests? #f ; no 'check' target `(#:tests? #f ; no 'check' target
#:make-flags (list (string-append "prefix=" %output) #:make-flags (list (string-append "prefix=" %output)
"CC=gcc") ,(string-append "CC=" (cc-for-target)))
;; no configure script ;; No configure script.
#:phases (modify-phases %standard-phases (delete 'configure)))) #:phases (modify-phases %standard-phases (delete 'configure))))
(inputs (inputs
`(("perl" ,perl))) `(("perl" ,perl)))