mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: hashcat: Fix cross-compilation.
* gnu/packages/password-utils.scm (hashcat)[native-inputs]: Move to ... (hashcat)[inputs]: ... here. (hashcat)[arguments]<#:make-flags>: Set AR and CC. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
aed1c2f794
commit
4bbad495a7
1 changed files with 4 additions and 2 deletions
|
@ -54,6 +54,7 @@
|
||||||
|
|
||||||
(define-module (gnu packages password-utils)
|
(define-module (gnu packages password-utils)
|
||||||
#:use-module ((guix licenses) #:prefix license:)
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
|
#:use-module (guix utils)
|
||||||
#:use-module (guix build-system cmake)
|
#:use-module (guix build-system cmake)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
#:use-module (guix build-system go)
|
#:use-module (guix build-system go)
|
||||||
|
@ -1128,12 +1129,13 @@ your online accounts makes it necessary.")
|
||||||
;; TODO: Unbundle LZMA-SDK as well
|
;; TODO: Unbundle LZMA-SDK as well
|
||||||
#~(for-each delete-file-recursively
|
#~(for-each delete-file-recursively
|
||||||
'("deps/zlib" "deps/xxHash" "deps/OpenCL-Headers")))))
|
'("deps/zlib" "deps/xxHash" "deps/OpenCL-Headers")))))
|
||||||
(inputs (list minizip xxhash zlib))
|
(inputs (list minizip opencl-headers xxhash zlib))
|
||||||
(native-inputs (list opencl-headers))
|
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:tests? #f ;no tests
|
(list #:tests? #f ;no tests
|
||||||
#:make-flags #~(list (string-append "PREFIX=" #$output)
|
#:make-flags #~(list (string-append "PREFIX=" #$output)
|
||||||
|
(string-append "AR=" #$(ar-for-target))
|
||||||
|
(string-append "CC=" #$(cc-for-target))
|
||||||
(string-append "USE_SYSTEM_ZLIB=1")
|
(string-append "USE_SYSTEM_ZLIB=1")
|
||||||
(string-append "USE_SYSTEM_OPENCL=1")
|
(string-append "USE_SYSTEM_OPENCL=1")
|
||||||
(string-append "USE_SYSTEM_XXHASH=1"))
|
(string-append "USE_SYSTEM_XXHASH=1"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue