summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-06-02 19:25:28 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2020-06-02 20:50:18 +0200
commit39f8ef2d16e413891bcd81a24011a01ecc9e07d8 (patch)
treec75d8df2515c66ddf3fbc3269d2873d62fa0a51b
parent3a169fe30183011877b86d376a708e85b7a42671 (diff)
downloadguix-39f8ef2d16e413891bcd81a24011a01ecc9e07d8.tar.gz
gnu: linenoise: Fix cross-compilation.
* gnu/packages/shells.scm (linenoise)[arguments]: Use CC-FOR-TARGET.
-rw-r--r--gnu/packages/shells.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 74d08e02bc..562748da4a 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)