unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#67860] [PATCH] gnu: argon2: Fix cross-compilation.
@ 2023-12-16 22:58 Leo Nikkilä via Guix-patches via
  2023-12-23  9:32 ` bug#67860: " Mathieu Othacehe
  0 siblings, 1 reply; 2+ messages in thread
From: Leo Nikkilä via Guix-patches via @ 2023-12-16 22:58 UTC (permalink / raw)
  To: 67860; +Cc: Leo Nikkilä

* gnu/packages/password-utils.scm (argon2): Use `cc-for-target'.
---
 gnu/packages/password-utils.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 4099f23098..bcd323ced8 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -1123,7 +1123,7 @@ (define-public argon2
     (build-system gnu-build-system)
     (arguments
      `(#:test-target "test"
-       #:make-flags (list "CC=gcc"
+       #:make-flags (list (string-append "CC=" ,(cc-for-target))
                           (string-append "PREFIX=" (assoc-ref %outputs "out"))
                           "LIBRARY_REL=lib"
                           (string-append "ARGON2_VERSION=" ,version)
-- 
2.41.0





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

* bug#67860: [PATCH] gnu: argon2: Fix cross-compilation.
  2023-12-16 22:58 [bug#67860] [PATCH] gnu: argon2: Fix cross-compilation Leo Nikkilä via Guix-patches via
@ 2023-12-23  9:32 ` Mathieu Othacehe
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Othacehe @ 2023-12-23  9:32 UTC (permalink / raw)
  To: Leo Nikkilä; +Cc: 67860-done


> * gnu/packages/password-utils.scm (argon2): Use `cc-for-target'.

Applied, thanks,

Mathieu




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

end of thread, other threads:[~2023-12-23  9:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-16 22:58 [bug#67860] [PATCH] gnu: argon2: Fix cross-compilation Leo Nikkilä via Guix-patches via
2023-12-23  9:32 ` bug#67860: " Mathieu Othacehe

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).