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
parent
c58b443102
commit
452e7673bf
|
@ -71,7 +71,10 @@
|
||||||
#~(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.
|
||||||
|
|
Reference in New Issue