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: Ia33ad67a2a05d82be036080f1938865daa11cfe9master
parent
ab1ff7ca40
commit
304d519386
|
@ -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)
|
||||
|
|
Reference in New Issue