From: Christina O'Donnell <cdo@mutix.org>
To: 40316@debbugs.gnu.org
Cc: zhengjunjie@iscas.ac.cn, vagrant@reproducible-builds.org,
steve@futurile.net
Subject: bug#40316: [PATCH v3 2/5] gnu: nspr: Fix cross-compilation.
Date: Thu, 2 May 2024 13:33:37 +0100 [thread overview]
Message-ID: <1ea4518f8c971f69a4731da7559c7ab322ff77ed.1714653076.git.cdo@mutix.org> (raw)
In-Reply-To: <cover.1714653076.git.cdo@mutix.org>
From: Zheng Junjie <zhengjunjie@iscas.ac.cn>
* gnu/packages/nss.scm (nspr)[arguments]<#:configure-flags>: When
cross-compilation, Add HOST_CC=gcc.
Change-Id: I337f217f153f8cc3a713906643d6fab9115056e9
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
---
gnu/packages/nss.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/nss.scm b/gnu/packages/nss.scm
index 459e53bc1c..0baafe2f37 100644
--- a/gnu/packages/nss.scm
+++ b/gnu/packages/nss.scm
@@ -71,7 +71,10 @@ (define-public nspr
#~(list "--disable-static"
"--enable-64bit"
(string-append "LDFLAGS=-Wl,-rpath="
- (assoc-ref %outputs "out") "/lib"))
+ (assoc-ref %outputs "out") "/lib")
+ #$@(if (%current-target-system)
+ #~("HOST_CC=gcc")
+ #~()))
;; Use fixed timestamps for reproducibility.
#:make-flags #~'("SH_DATE='1970-01-01 00:00:01'"
;; This is epoch 1 in microseconds.
--
2.41.0
next prev parent reply other threads:[~2024-05-02 12:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1714653076.git.cdo@mutix.org>
2024-05-02 12:33 ` bug#40316: [PATCH v3 1/5] gnu: nss: Fix cross-compilation Christina O'Donnell
2024-05-02 12:33 ` Christina O'Donnell [this message]
2024-05-02 12:33 ` bug#40316: [PATCH v3 3/5] gnu: nss: Update to 3.99 Christina O'Donnell
2024-05-02 12:33 ` bug#40316: [PATCH v3 4/5] gnu: nss-certs: " Christina O'Donnell
2024-05-02 12:33 ` bug#40316: [PATCH v3 5/5] gnu: nss: Make reproducible Christina O'Donnell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1ea4518f8c971f69a4731da7559c7ab322ff77ed.1714653076.git.cdo@mutix.org \
--to=cdo@mutix.org \
--cc=40316@debbugs.gnu.org \
--cc=steve@futurile.net \
--cc=vagrant@reproducible-builds.org \
--cc=zhengjunjie@iscas.ac.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.