guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/58: gnu: openssl: Build fix for the Hurd.


From: guix-commits
Subject: 10/58: gnu: openssl: Build fix for the Hurd.
Date: Wed, 19 Jul 2023 03:00:45 -0400 (EDT)

janneke pushed a commit to branch hurd-team
in repository guix.

commit 03283306d21c4d5c68819d6ea6445eafd446718c
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Mon Jun 5 16:21:19 2023 +0200

    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.
---
 gnu/packages/tls.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]