Subject: [PATCH] gnu: nspr: Fix cross-compilation.
From: dan <[email-masked]>
To: [email-masked]
Date: Sun, 17 Mar 2024 00:13:09 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

* 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