me
/
guix
Archived
1
0
Fork 0

gnu: nspr: Fix cross-compilation.

* 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>
master
Zheng Junjie 2024-04-22 13:29:16 +08:00
parent c58b443102
commit 452e7673bf
No known key found for this signature in database
GPG Key ID: 3B5AA993E1A2DFF0
1 changed files with 4 additions and 1 deletions

View File

@ -71,7 +71,10 @@
#~(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.