aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2023-06-05 16:21:19 +0200
committerJanneke Nieuwenhuizen <janneke@gnu.org>2023-07-20 10:11:33 +0200
commit378766dd2e7187d8ea48c47dd3fc53a7e66cf5c7 (patch)
tree67b874e4aa92a4a0dfc8a4a2b90360a88b0a6eeb /gnu
parentda9e4fd4347a31eaa5d92489e68b547466feb8bf (diff)
downloadguix-378766dd2e7187d8ea48c47dd3fc53a7e66cf5c7.tar.gz
guix-378766dd2e7187d8ea48c47dd3fc53a7e66cf5c7.zip
gnu: openssl: Build fix for the Hurd.
* gnu/packages/tls.scm (openssl-3.0)[arguments]: When building on the Hurd, add "hurd-x86" to #:configure-flags.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/tls.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index d94b7c27f5..a2ed15ebdc 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -585,7 +585,12 @@ OpenSSL for TARGET."
(lambda* (#:key native-inputs inputs #:allow-other-keys)
(setenv "HASHBANGPERL"
(search-input-file (or native-inputs inputs)
- "/bin/perl"))))))))
+ "/bin/perl"))))))
+ ((#:configure-flags flags #~'())
+ (if (system-hurd?)
+ #~(append #$flags '("hurd-x86")) ;must not be used when
+ ;cross-compiling!
+ flags))))
(license license:asl2.0)))
(define-public openssl openssl-3.0)