summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2022-10-16 02:00:01 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2022-10-23 02:00:07 +0200
commit188acd0aacf5172c4323a748f130e66216854aa6 (patch)
treed350f697043a69037d3550acd9e4dbd3bff60fd2
parent9eea2db6aeb73a2f81d12a1334e200aa560ef5e2 (diff)
downloadguix-188acd0aacf5172c4323a748f130e66216854aa6.tar.gz
gnu: mpv: Prepare for cross-compilation.
* gnu/packages/video.scm (mpv)[arguments]: Use CC-FOR-TARGET.
-rw-r--r--gnu/packages/video.scm2
1 files changed, 1 insertions, 1 deletions
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 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.")
           (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"