mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -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"
|
||||
"--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.
|
||||
|
|
Loading…
Reference in a new issue