guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/11: gnu: mpv: Prepare for cross-compilation.


From: guix-commits
Subject: 09/11: gnu: mpv: Prepare for cross-compilation.
Date: Wed, 26 Oct 2022 17:11:00 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 188acd0aacf5172c4323a748f130e66216854aa6
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Oct 16 02:00:01 2022 +0200

    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 @@ 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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]