summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLeo Nikkilä <hello@lnikki.la>2023-12-17 00:58:55 +0200
committerMathieu Othacehe <othacehe@gnu.org>2023-12-23 10:47:08 +0100
commit304d5193860ad4d378896fe81c25c76798deb261 (patch)
treeec2f29823c923e692972c4cbade9667c9edfa808 /gnu
parentab1ff7ca40b0a2d935f715dcf64f0f3128632d3d (diff)
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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/password-utils.scm2
1 files changed, 1 insertions, 1 deletions
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)