From 5c81cbda5e1c97b5234f48f36de28adcccaa3555 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 27 Apr 2021 13:57:35 +0200 Subject: 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(-) (limited to 'gnu/packages/textutils.scm') diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 0df8399ffd..96bb7be468 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 -- cgit v1.2.3