Archived
1
0
Fork 0

gnu: mujs: Cross-compile.

* gnu/packages/javascript.scm (mujs)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
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

View file

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