guix-commits
[Top][All Lists]
Advanced

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

02/03: gnu: html2text: Fix cross-compilation.


From: guix-commits
Subject: 02/03: gnu: html2text: Fix cross-compilation.
Date: Tue, 27 Apr 2021 08:04:01 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 5c81cbda5e1c97b5234f48f36de28adcccaa3555
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Tue Apr 27 13:57:35 2021 +0200

    gnu: html2text: Fix cross-compilation.
    
    * gnu/packages/textutils.scm (html2text)[arguments]: Set $CXX to
    the correct (CC-FOR-TARGET).
---
 gnu/packages/textutils.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 0df8399..96bb7be 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -1038,7 +1038,8 @@ indentation.
              ;; The configure script is not from autotools and does not accept
              ;; ‘--style’ options.  There is no proper error handling.
              (lambda* (#:key outputs #:allow-other-keys)
-               (invoke "./configure"))))))
+               (invoke "./configure"
+                       (string-append "CXX=" ,(cxx-for-target))))))))
       (home-page "https://github.com/grobian/html2text";)
       (synopsis "HTML to plain text converter")
       (description



reply via email to

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