gnu: duktape: Cross-compile.

* gnu/packages/javascript.scm (duktape)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
Tobias Geerinckx-Rice 2022-06-12 02:00:01 +02:00
parent 2c975efe83
commit e1076e9346
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -835,7 +835,11 @@ (define-public duktape
;; 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)