guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

12/14: gnu: dos2unix: Cross-compile.


From: guix-commits
Subject: 12/14: gnu: dos2unix: Cross-compile.
Date: Tue, 13 Oct 2020 14:08:49 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit b4d7d41b222e6b8d8e85980e0da85785c86c0966
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Tue Oct 13 19:00:59 2020 +0200

    gnu: dos2unix: Cross-compile.
    
    * gnu/packages/textutils.scm (dos2unix)[arguments]: Use CC-FOR-TARGET.
---
 gnu/packages/textutils.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 8db7b62..7cbbe5f 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]