mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: dos2unix: Cross-compile.
* gnu/packages/textutils.scm (dos2unix)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
parent
e2d33f9e33
commit
b4d7d41b22
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue