me
/
guix
Archived
1
0
Fork 0

gnu: blktrace: Prepare for cross-compilation.

* gnu/packages/linux.scm (blktrace)[arguments]: Use CC-FOR-TARGET.
master
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
1 changed files with 5 additions and 4 deletions

View File

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