[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch wip-hurd updated: gnu: openssl: Build fix for the Hurd.
From: |
guix-commits |
Subject: |
branch wip-hurd updated: gnu: openssl: Build fix for the Hurd. |
Date: |
Mon, 05 Jun 2023 11:08:08 -0400 |
This is an automated email from the git hooks/post-receive script.
janneke pushed a commit to branch wip-hurd
in repository guix.
The following commit(s) were added to refs/heads/wip-hurd by this push:
new fe5455a395 gnu: openssl: Build fix for the Hurd.
fe5455a395 is described below
commit fe5455a395f5f3ca6196df3a729796adeefb533d
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Mon Jun 5 16:21:19 2023 +0200
gnu: openssl: Build fix for the Hurd.
Interestingly, this is needed only on the Hurd to avoid
/gnu/store/....-bash-minimal-5.1.16/bin/sh: line 1: cc: command not
found
* gnu/packages/tls.scm (openssl-3.0)[arguments]: When building for the Hurd,
set CC in #:configure-flags.
---
gnu/packages/tls.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index d162094ed4..7b262adeda 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -586,7 +586,13 @@ 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 (target-hurd?)
+ #~(cons
+ #$(string-append "CC=" (cc-for-target))
+ #$flags)
+ flags))))
(license license:asl2.0)))
(define-public openssl openssl-3.0)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch wip-hurd updated: gnu: openssl: Build fix for the Hurd.,
guix-commits <=