gnu: linenoise: Fix cross-compilation.

* gnu/packages/shells.scm (linenoise)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
Tobias Geerinckx-Rice 2020-06-02 19:25:28 +02:00
parent 3a169fe301
commit 39f8ef2d16
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -600,8 +600,9 @@ (define-public linenoise
"1z16qwix8z6a40fskdgxsibkqgdrp4q6ncp4n6hnv4r9iihy2d8r"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ;No tests are included
#:make-flags (list "CC=gcc")
`(#:tests? #f ; no tests are included
#:make-flags
(list ,(string-append "CC=" (cc-for-target)))
#:phases
(modify-phases %standard-phases
(delete 'configure)