mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: mpv: Prepare for cross-compilation.
* gnu/packages/video.scm (mpv)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
parent
9eea2db6ae
commit
188acd0aac
1 changed files with 1 additions and 1 deletions
|
@ -2188,7 +2188,7 @@ (define-public mpv
|
||||||
(add-before 'configure 'set-up-waf
|
(add-before 'configure 'set-up-waf
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(copy-file (search-input-file inputs "bin/waf") "waf")
|
(copy-file (search-input-file inputs "bin/waf") "waf")
|
||||||
(setenv "CC" "gcc"))))
|
(setenv "CC" #$(cc-for-target)))))
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
#~(list "--enable-libmpv-shared"
|
#~(list "--enable-libmpv-shared"
|
||||||
"--enable-cdda"
|
"--enable-cdda"
|
||||||
|
|
Loading…
Reference in a new issue