gnu: blktrace: Prepare for cross-compilation.
* gnu/packages/linux.scm (blktrace)[arguments]: Use CC-FOR-TARGET.master
parent
3dec317f1d
commit
ac68ab337c
|
@ -4331,12 +4331,13 @@ applications.")
|
||||||
(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))
|
||||||
#:tests? #f ; no tests
|
(string-append "prefix=" %output))
|
||||||
|
#:tests? #f ; no tests
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure) ; no configure script
|
(delete 'configure) ; no configure script
|
||||||
(add-after 'unpack 'fix-gnuplot-path
|
(add-after 'unpack 'fix-gnuplot-path
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let ((gnuplot (assoc-ref inputs "gnuplot")))
|
(let ((gnuplot (assoc-ref inputs "gnuplot")))
|
||||||
|
|
Reference in New Issue