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) | |
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 7c526ccb3c1..709ca009929 100644 --- a/gnu/packages/javascript.scm +++ b/gnu/packages/javascript.scm | |||
| @@ -32,7 +32,8 @@ | |||
| 32 | #:use-module (guix git-download) | 32 | #:use-module (guix git-download) |
| 33 | #:use-module (guix build-system gnu) | 33 | #:use-module (guix build-system gnu) |
| 34 | #:use-module (guix build-system trivial) | 34 | #:use-module (guix build-system trivial) |
| 35 | #:use-module (guix build-system minify)) | 35 | #:use-module (guix build-system minify) |
| 36 | #:use-module (guix utils)) | ||
| 36 | 37 | ||
| 37 | (define-public font-mathjax | 38 | (define-public font-mathjax |
| 38 | (package | 39 | (package |
| @@ -435,7 +436,7 @@ external server.") | |||
| 435 | (apply invoke "make" "install-shared" make-flags)))) | 436 | (apply invoke "make" "install-shared" make-flags)))) |
| 436 | #:make-flags | 437 | #:make-flags |
| 437 | (list ,(string-append "VERSION=" version) | 438 | (list ,(string-append "VERSION=" version) |
| 438 | (string-append "CC=gcc") | 439 | ,(string-append "CC=" (cc-for-target)) |
| 439 | (string-append "prefix=" (assoc-ref %outputs "out"))) | 440 | (string-append "prefix=" (assoc-ref %outputs "out"))) |
| 440 | #:tests? #f)) ; no tests | 441 | #:tests? #f)) ; no tests |
| 441 | (inputs | 442 | (inputs |
