guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 10/43: gnu: openssl: Build fix for the Hurd.
Date: Thu, 20 Jul 2023 04:22:27 -0400 (EDT)

janneke pushed a commit to branch master
in repository guix.

commit 378766dd2e7187d8ea48c47dd3fc53a7e66cf5c7
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]