me
/
guix
Archived
1
0
Fork 0

gnu: di: Cross-compile.

* gnu/packages/admin.scm (di)[arguments]: Use CC-FOR-TARGET.
master
Tobias Geerinckx-Rice 2020-06-06 17:23:32 +02:00
parent cfec1af96a
commit aba98be540
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 1 additions and 1 deletions

View File

@ -2758,7 +2758,7 @@ a new command using the matched rule, and runs it.")
(delete 'configure) ; no configure script
(add-before 'build 'setup-environment
(lambda* (#:key outputs #:allow-other-keys)
(setenv "CC" "gcc")
(setenv "CC" ,(cc-for-target))
(setenv "prefix" (assoc-ref outputs "out"))
#t)))
#:make-flags (list "--environment-overrides")))