From 304d5193860ad4d378896fe81c25c76798deb261 Mon Sep 17 00:00:00 2001 From: Leo Nikkilä Date: Sun, 17 Dec 2023 00:58:55 +0200 Subject: 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(-) (limited to 'gnu') 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) -- cgit v1.2.3