gnu: eschalot: Cross-compile.

* gnu/packages/crypto.scm (eschalot)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
Tobias Geerinckx-Rice 2020-09-21 02:23:53 +02:00
parent 6b6dbff44e
commit 0a38519694
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -362,7 +362,7 @@ (define-public eschalot
`(("openssl" ,openssl-1.0))) ; for openssl/{bn,pem,rsa,sha}.h
(build-system gnu-build-system)
(arguments
`(#:make-flags (list "CC=gcc"
`(#:make-flags (list (string-append "CC=" ,(cc-for-target))
(string-append "PREFIX=" (assoc-ref %outputs "out"))
(string-append "INSTALL=" "install"))
;; XXX: make test would run a !VERY! long hashing of names with the use