gnu: nvme-cli: Fix cross-compilation.
* gnu/packages/linux.scm (nvme-cli)[arguments]: Use CC-FOR-TARGET.master
parent
e712b998aa
commit
2b9ce1007d
|
@ -3859,15 +3859,17 @@ Translation (@dfn{SAT}) are also supported.")
|
||||||
(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 (list "CC=gcc")
|
`(#:make-flags
|
||||||
|
(list ,(string-append "CC=" (cc-for-target)))
|
||||||
#:phases (modify-phases %standard-phases
|
#:phases (modify-phases %standard-phases
|
||||||
(delete 'configure) ; No ./configure script
|
(delete 'configure) ; no ./configure script
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda _
|
(lambda _
|
||||||
(invoke "make" "install-spec" "PREFIX="
|
(invoke "make" "install-spec" "PREFIX="
|
||||||
(string-append "DESTDIR=" %output)))))
|
(string-append "DESTDIR=" %output)))))
|
||||||
#:tests? #f)) ; The tests require sysfs, which is not accessible from
|
;; The tests require sysfs, which is not accessible from from the build
|
||||||
; the build environment
|
;; environment
|
||||||
|
#:tests? #f))
|
||||||
(synopsis "NVM-Express user space tooling for Linux")
|
(synopsis "NVM-Express user space tooling for Linux")
|
||||||
(description "Nvme-cli is a utility to provide standards compliant tooling
|
(description "Nvme-cli is a utility to provide standards compliant tooling
|
||||||
for NVM-Express drives. It was made specifically for Linux as it relies on the
|
for NVM-Express drives. It was made specifically for Linux as it relies on the
|
||||||
|
|
Reference in New Issue