guix-commits
[Top][All Lists]
Advanced

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

08/12: gnu: linenoise: Fix cross-compilation.


From: guix-commits
Subject: 08/12: gnu: linenoise: Fix cross-compilation.
Date: Tue, 2 Jun 2020 14:50:48 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 39f8ef2d16e413891bcd81a24011a01ecc9e07d8
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Tue Jun 2 19:25:28 2020 +0200

    gnu: linenoise: Fix cross-compilation.
    
    * gnu/packages/shells.scm (linenoise)[arguments]: Use CC-FOR-TARGET.
---
 gnu/packages/shells.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 74d08e0..562748d 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -600,8 +600,9 @@ operating system.")
            "1z16qwix8z6a40fskdgxsibkqgdrp4q6ncp4n6hnv4r9iihy2d8r"))))
       (build-system gnu-build-system)
       (arguments
-       `(#:tests? #f ;No tests are included
-         #:make-flags (list "CC=gcc")
+       `(#:tests? #f                    ; no tests are included
+         #:make-flags
+         (list ,(string-append "CC=" (cc-for-target)))
          #:phases
          (modify-phases %standard-phases
            (delete 'configure)



reply via email to

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