From: Christopher Baines <mail@cbaines.net>
To: 58492@debbugs.gnu.org
Subject: [bug#58492] [PATCH] gnu: lziprecover: Fix cross-compilation.
Date: Thu, 13 Oct 2022 13:44:51 +0100 [thread overview]
Message-ID: <20221013124451.24923-1-mail@cbaines.net> (raw)
* gnu/packages/comression.scm (lziprecover)[arguments]: Set CXX when cross
compiling.
---
gnu/packages/compression.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 684979018c..ba9f838130 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -653,6 +653,12 @@ (define-public lziprecover
(base32
"0wmmyi03fv2lflsir5ldrsv04q57k3hmlqajzb1m3p86gwbh967j"))))
(build-system gnu-build-system)
+ (arguments
+ ;; The configure script doesn't recognise the --build or --host
+ ;; arguments, so set CXX here
+ `(,@(if (%current-target-system)
+ `(#:make-flags (list ,(string-append "CXX=" (cxx-for-target))))
+ '())))
(home-page "https://www.nongnu.org/lzip/lziprecover.html")
(synopsis "Recover and decompress data from damaged lzip files")
(description
--
2.37.3
next reply other threads:[~2022-10-13 14:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-13 12:44 Christopher Baines [this message]
2022-10-16 18:32 ` bug#58492: [PATCH] gnu: lziprecover: Fix cross-compilation Christopher Baines
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221013124451.24923-1-mail@cbaines.net \
--to=mail@cbaines.net \
--cc=58492@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.