gnu: blktrace: Prepare for cross-compilation.

* gnu/packages/linux.scm (blktrace)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
Tobias Geerinckx-Rice 2020-06-03 01:47:22 +02:00
parent 3dec317f1d
commit ac68ab337c
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -4331,8 +4331,9 @@ (define-public blktrace
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:make-flags `(#:make-flags
(list "CC=gcc" (string-append "prefix=" %output)) (list ,(string-append "CC=" (cc-for-target))
(string-append "prefix=" %output))
#:tests? #f ; no tests #:tests? #f ; no tests
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases