mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: blktrace: Prepare for cross-compilation.
* gnu/packages/linux.scm (blktrace)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
parent
3dec317f1d
commit
ac68ab337c
1 changed files with 5 additions and 4 deletions
|
@ -4331,12 +4331,13 @@ (define-public blktrace
|
|||
(file-name (git-file-name name version))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:make-flags
|
||||
(list "CC=gcc" (string-append "prefix=" %output))
|
||||
#:tests? #f ; no tests
|
||||
`(#:make-flags
|
||||
(list ,(string-append "CC=" (cc-for-target))
|
||||
(string-append "prefix=" %output))
|
||||
#:tests? #f ; no tests
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'configure) ; no configure script
|
||||
(delete 'configure) ; no configure script
|
||||
(add-after 'unpack 'fix-gnuplot-path
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((gnuplot (assoc-ref inputs "gnuplot")))
|
||||
|
|
Loading…
Reference in a new issue