summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-10-13 19:00:59 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2020-10-13 19:01:33 +0200
commitb4d7d41b222e6b8d8e85980e0da85785c86c0966 (patch)
treeff330c2230fcb988e4d964df52c81d81ef2cd2f6
parente2d33f9e33b817490768fc723761c6a29e34cb9a (diff)
gnu: dos2unix: Cross-compile.
* gnu/packages/textutils.scm (dos2unix)[arguments]: Use CC-FOR-TARGET.
-rw-r--r--gnu/packages/textutils.scm5
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