GNU bug report logs - #69830
[PATCH] gnu: nspr: Fix cross-compilation.

Previous Next

Package: guix-patches;

Reported by: dan <i <at> dan.games>

Date: Sat, 16 Mar 2024 16:15:02 UTC

Severity: normal

Tags: patch

Done: dan <i <at> dan.games>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: dan <i <at> dan.games>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: nspr: Fix cross-compilation.
Date: Sun, 17 Mar 2024 00:13:09 +0800
* gnu/packages/nss.scm (nspr): Fix cross-compilation.

Change-Id: I6a4a24bed4248d54e1c0cd712dc5fc9a5c0c6121
---
 gnu/packages/nss.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/nss.scm b/gnu/packages/nss.scm
index 54b9e5041a..29c57d0843 100644
--- a/gnu/packages/nss.scm
+++ b/gnu/packages/nss.scm
@@ -75,7 +75,8 @@ (define-public nspr
       ;; Use fixed timestamps for reproducibility.
       #:make-flags #~'("SH_DATE='1970-01-01 00:00:01'"
                        ;; This is epoch 1 in microseconds.
-                       "SH_NOW=100000")
+                       "SH_NOW=100000"
+                       "HOST_CC=gcc")
       #:phases #~(modify-phases %standard-phases
                    (add-before 'configure 'chdir
                      (lambda _ (chdir "nspr") #t)))))

base-commit: 9daf074a7a9ea77017622b2b244e3a2cdc6af7b2
-- 
2.41.0





This bug report was last modified 1 year and 28 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.