mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-14 07:00:32 -05:00
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>
This commit is contained in:
parent
c58b443102
commit
452e7673bf
1 changed files with 4 additions and 1 deletions
|
@ -71,7 +71,10 @@ (define-public nspr
|
||||||
#~(list "--disable-static"
|
#~(list "--disable-static"
|
||||||
"--enable-64bit"
|
"--enable-64bit"
|
||||||
(string-append "LDFLAGS=-Wl,-rpath="
|
(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.
|
;; Use fixed timestamps for reproducibility.
|
||||||
#:make-flags #~'("SH_DATE='1970-01-01 00:00:01'"
|
#:make-flags #~'("SH_DATE='1970-01-01 00:00:01'"
|
||||||
;; This is epoch 1 in microseconds.
|
;; This is epoch 1 in microseconds.
|
||||||
|
|
Loading…
Reference in a new issue