diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-11-23 22:08:20 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-11-23 22:12:19 +0100 |
commit | 4a74499cd9af6eea1e1d74e46bf0a7a7123d9e3b (patch) | |
tree | bbbbfc0ef0a7863cb5ab1fb9f55f417a900db2d3 /gnu/packages/javascript.scm | |
parent | f289d922b2d6530c15d1521cc136b7b2eb722baa (diff) | |
download | guix-4a74499cd9af6eea1e1d74e46bf0a7a7123d9e3b.tar.gz |
gnu: mujs: Cross-compile.
* gnu/packages/javascript.scm (mujs)[arguments]: Use CC-FOR-TARGET.
Diffstat (limited to 'gnu/packages/javascript.scm')
-rw-r--r-- | gnu/packages/javascript.scm | 5 |
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 |