From 188acd0aacf5172c4323a748f130e66216854aa6 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 16 Oct 2022 02:00:01 +0200 Subject: [PATCH] gnu: mpv: Prepare for cross-compilation. * gnu/packages/video.scm (mpv)[arguments]: Use CC-FOR-TARGET. --- gnu/packages/video.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 522894ec44..ccbfc76126 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -2188,7 +2188,7 @@ (define-public mpv (add-before 'configure 'set-up-waf (lambda* (#:key inputs #:allow-other-keys) (copy-file (search-input-file inputs "bin/waf") "waf") - (setenv "CC" "gcc")))) + (setenv "CC" #$(cc-for-target))))) #:configure-flags #~(list "--enable-libmpv-shared" "--enable-cdda"