me
/
guix
Archived
1
0
Fork 0

gnu: mujs: Cross-compile.

* gnu/packages/javascript.scm (mujs)[arguments]: Use CC-FOR-TARGET.
master
Tobias Geerinckx-Rice 2020-11-23 22:08:20 +01:00
parent f289d922b2
commit 4a74499cd9
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 3 additions and 2 deletions

View File

@ -32,7 +32,8 @@
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system trivial)
#:use-module (guix build-system minify))
#:use-module (guix build-system minify)
#:use-module (guix utils))
(define-public font-mathjax
(package
@ -435,7 +436,7 @@ external server.")
(apply invoke "make" "install-shared" make-flags))))
#:make-flags
(list ,(string-append "VERSION=" version)
(string-append "CC=gcc")
,(string-append "CC=" (cc-for-target))
(string-append "prefix=" (assoc-ref %outputs "out")))
#:tests? #f)) ; no tests
(inputs