me
/
guix
Archived
1
0
Fork 0

gnu: duktape: Cross-compile.

* gnu/packages/javascript.scm (duktape)[arguments]: Use CC-FOR-TARGET.
master
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
1 changed files with 5 additions and 1 deletions

View File

@ -835,7 +835,11 @@ Javascript and a small built-in standard library with C library wrappers.")
;; XXX Replace with #$output on core-updates. ;; XXX Replace with #$output on core-updates.
#$(if (%current-target-system) #$(if (%current-target-system)
#~#$output #~#$output
#~%output))) #~%output))
;; XXX Unconditionally set to CC-FOR-TARGET on core-updates.
#$@(if (%current-target-system)
#~((string-append "CC=" #$(cc-for-target)))
#~()))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(delete 'configure) (delete 'configure)