From 304d5193860ad4d378896fe81c25c76798deb261 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leo=20Nikkil=C3=A4?= Date: Sun, 17 Dec 2023 00:58:55 +0200 Subject: [PATCH] gnu: argon2: Fix cross-compilation. * gnu/packages/password-utils.scm (argon2): Use `cc-for-target'. Signed-off-by: Mathieu Othacehe 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)