diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-10-13 19:00:59 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-10-13 19:01:33 +0200 |
commit | b4d7d41b222e6b8d8e85980e0da85785c86c0966 (patch) | |
tree | ff330c2230fcb988e4d964df52c81d81ef2cd2f6 | |
parent | e2d33f9e33b817490768fc723761c6a29e34cb9a (diff) | |
download | guix-b4d7d41b222e6b8d8e85980e0da85785c86c0966.tar.gz |
gnu: dos2unix: Cross-compile.
* gnu/packages/textutils.scm (dos2unix)[arguments]: Use CC-FOR-TARGET.
-rw-r--r-- | gnu/packages/textutils.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 8db7b62a89..7cbbe5f61d 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -77,8 +77,9 @@ (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 |