mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: libgcrypt: Skip hanging benchmark tests on the Hurd.
* gnu/packages/gnupg.scm (libgcrypt)[arguments]: When building natively on the Hurd, add phase 'setenv' to set "GCRYPT_NO_BENCHMARKS".
This commit is contained in:
parent
c5991dfb92
commit
ebc35c6096
1 changed files with 9 additions and 1 deletions
|
@ -204,7 +204,15 @@ (define-public libgcrypt
|
|||
,@(if (%current-target-system)
|
||||
;; When cross-compiling, _gcry_mpih_lshift etc are undefined.
|
||||
`("--disable-asm")
|
||||
'()))))
|
||||
'()))
|
||||
,@(if (system-hurd?)
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'configure 'setenv
|
||||
(lambda _
|
||||
(setenv "GCRYPT_NO_BENCHMARKS" "t")))))
|
||||
'())))
|
||||
(outputs '("out" "debug"))
|
||||
(home-page "https://gnupg.org/")
|
||||
(synopsis "Cryptographic function library")
|
||||
|
|
Loading…
Reference in a new issue