From 4a74499cd9af6eea1e1d74e46bf0a7a7123d9e3b Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 23 Nov 2020 22:08:20 +0100 Subject: gnu: mujs: Cross-compile. * gnu/packages/javascript.scm (mujs)[arguments]: Use CC-FOR-TARGET. --- gnu/packages/javascript.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gnu/packages/javascript.scm') 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 @@ (define-module (gnu packages javascript) #: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 @@ (define-public mujs (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 -- cgit v1.2.3