me
/
guix
Archived
1
0
Fork 0

gnu: dos2unix: Cross-compile.

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

View File

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