[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: argon2: Fix cross-compilation.
From: |
guix-commits |
Subject: |
01/02: gnu: argon2: Fix cross-compilation. |
Date: |
Sat, 23 Dec 2023 04:48:03 -0500 (EST) |
mothacehe pushed a commit to branch master
in repository guix.
commit 304d5193860ad4d378896fe81c25c76798deb261
Author: Leo Nikkilä <hello@lnikki.la>
AuthorDate: Sun Dec 17 00:58:55 2023 +0200
gnu: argon2: Fix cross-compilation.
* gnu/packages/password-utils.scm (argon2): Use `cc-for-target'.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Change-Id: Ia33ad67a2a05d82be036080f1938865daa11cfe9
---
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 @@ It supports both vim-like keybindings and the mouse.")
(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)