summaryrefslogtreecommitdiff
path: root/gnu/packages/javascript.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/javascript.scm')
-rw-r--r--gnu/packages/javascript.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index 1d571a1c72..666a0aa421 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -835,7 +835,11 @@ Javascript and a small built-in standard library with C library wrappers.")
;; XXX Replace with #$output on core-updates.
#$(if (%current-target-system)
#~#$output
- #~%output)))
+ #~%output))
+ ;; XXX Unconditionally set to CC-FOR-TARGET on core-updates.
+ #$@(if (%current-target-system)
+ #~((string-append "CC=" #$(cc-for-target)))
+ #~()))
#:phases
#~(modify-phases %standard-phases
(delete 'configure)