gnu: dos2unix: Cross-compile.

* gnu/packages/textutils.scm (dos2unix)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
Tobias Geerinckx-Rice 2020-10-13 19:00:59 +02:00
parent e2d33f9e33
commit b4d7d41b22
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -77,8 +77,9 @@ (define-public dos2unix
(base32 "00dfsf4rfyjb5j12gan8xjiirm0asshdz6dmd3l34a7ays6wadb0"))))
(build-system gnu-build-system)
(arguments
'(#:make-flags (list "CC=gcc"
(string-append "prefix=" (assoc-ref %outputs "out")))
`(#:make-flags
(list (string-append "CC=" ,(cc-for-target))
(string-append "prefix=" (assoc-ref %outputs "out")))
#:phases
(modify-phases %standard-phases
(delete 'configure)))) ; no configure script