guix-commits
[Top][All Lists]
Advanced

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

11/13: gnu: discount: Cross-compile.


From: guix-commits
Subject: 11/13: gnu: discount: Cross-compile.
Date: Thu, 8 Oct 2020 10:02:20 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit f41b56a92e8158f1fcb4cfef762783a6bab8a63d
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Wed Oct 7 14:46:54 2020 +0200

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

diff --git a/gnu/packages/markup.scm b/gnu/packages/markup.scm
index 56a920d..9569436 100644
--- a/gnu/packages/markup.scm
+++ b/gnu/packages/markup.scm
@@ -30,6 +30,7 @@
   #:use-module (guix build-system trivial)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system perl)
+  #:use-module (guix utils)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages)
   #:use-module (gnu packages perl)
@@ -138,7 +139,7 @@ convert it to structurally valid XHTML (or HTML).")
              #t))
          (replace 'configure
            (lambda* (#:key inputs outputs #:allow-other-keys)
-             (setenv "CC" "gcc")
+             (setenv "CC" ,(cc-for-target))
              (invoke "./configure.sh"
                      (string-append "--prefix=" (assoc-ref outputs "out"))
                      "--shared"))))))



reply via email to

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