1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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
This commit is contained in:
Leo Nikkilä
2023-12-17 00:58:55 +02:00
committed by Mathieu Othacehe
parent ab1ff7ca40
commit 304d519386

View File

@@ -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)