gnu: di: Cross-compile.
* gnu/packages/admin.scm (di)[arguments]: Use CC-FOR-TARGET.master
parent
cfec1af96a
commit
aba98be540
|
@ -2758,7 +2758,7 @@ a new command using the matched rule, and runs it.")
|
||||||
(delete 'configure) ; no configure script
|
(delete 'configure) ; no configure script
|
||||||
(add-before 'build 'setup-environment
|
(add-before 'build 'setup-environment
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(setenv "CC" "gcc")
|
(setenv "CC" ,(cc-for-target))
|
||||||
(setenv "prefix" (assoc-ref outputs "out"))
|
(setenv "prefix" (assoc-ref outputs "out"))
|
||||||
#t)))
|
#t)))
|
||||||
#:make-flags (list "--environment-overrides")))
|
#:make-flags (list "--environment-overrides")))
|
||||||
|
|
Reference in New Issue