diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2022-06-12 02:00:01 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2022-06-12 02:00:00 +0200 |
commit | e1076e934666193a0e68883c8de21bad45b44cdc (patch) | |
tree | 0f453bf3e1266a83f8c4311cb056b203b225624c /gnu | |
parent | 2c975efe836e83333d4decb87577a6ff9857c4a5 (diff) | |
download | guix-e1076e934666193a0e68883c8de21bad45b44cdc.tar.gz |
gnu: duktape: Cross-compile.
* gnu/packages/javascript.scm (duktape)[arguments]: Use CC-FOR-TARGET.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/javascript.scm | 6 |
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) |