all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#58492] [PATCH] gnu: lziprecover: Fix cross-compilation.
@ 2022-10-13 12:44 Christopher Baines
  2022-10-16 18:32 ` bug#58492: " Christopher Baines
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Baines @ 2022-10-13 12:44 UTC (permalink / raw)
  To: 58492

* 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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#58492: [PATCH] gnu: lziprecover: Fix cross-compilation.
  2022-10-13 12:44 [bug#58492] [PATCH] gnu: lziprecover: Fix cross-compilation Christopher Baines
@ 2022-10-16 18:32 ` Christopher Baines
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Baines @ 2022-10-16 18:32 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 58492-done

[-- Attachment #1: Type: text/plain, Size: 285 bytes --]


Christopher Baines <mail@cbaines.net> writes:

> * gnu/packages/comression.scm (lziprecover)[arguments]: Set CXX when cross
> compiling.
> ---
>  gnu/packages/compression.scm | 6 ++++++
>  1 file changed, 6 insertions(+)

Pushed to master as c3e103129d1fac8460e4e01e46749a0a72248ead.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-16 18:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-13 12:44 [bug#58492] [PATCH] gnu: lziprecover: Fix cross-compilation Christopher Baines
2022-10-16 18:32 ` bug#58492: " Christopher Baines

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.