summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-11-23 22:08:20 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2020-11-23 22:12:19 +0100
commit4a74499cd9af6eea1e1d74e46bf0a7a7123d9e3b (patch)
treebbbbfc0ef0a7863cb5ab1fb9f55f417a900db2d3 /gnu/packages
parentf289d922b2d6530c15d1521cc136b7b2eb722baa (diff)
gnu: mujs: Cross-compile.
* gnu/packages/javascript.scm (mujs)[arguments]: Use CC-FOR-TARGET.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/javascript.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index 7c526ccb3c..709ca00992 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -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