gnu: di: Cross-compile.
* gnu/packages/admin.scm (di)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
parent
cfec1af96a
commit
aba98be540
1 changed files with 1 additions and 1 deletions
|
@ -2758,7 +2758,7 @@ (define-public di
|
|||
(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")))
|
||||
|
|
Loading…
Reference in a new issue