guix-commits
[Top][All Lists]
Advanced

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

05/21: gnu: tome4: Prepare for cross-compilation.


From: guix-commits
Subject: 05/21: gnu: tome4: Prepare for cross-compilation.
Date: Wed, 11 Nov 2020 11:49:00 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 0b09364d5f00d2b8b2e341487c6a33ede76bfb9a
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Wed Nov 11 13:35:00 2020 +0100

    gnu: tome4: Prepare for cross-compilation.
    
    * gnu/packages/games.scm (tome4)[arguments]: Use CC-FOR-TARGET.
---
 gnu/packages/games.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 7c36e67..439e369 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -6620,7 +6620,9 @@ Crowther & Woods, its original authors, in 1995.  It has 
been known as
        ("vorbis" ,libvorbis)
        ("luajit" ,luajit)))
     (arguments
-     `(#:make-flags '("CC=gcc" "config=release")
+     `(#:make-flags
+       (list (string-append "CC=" ,(cc-for-target))
+             "config=release")
        ;; XXX: Building in parallel occasionally causes this build failure:
        ;;   ../src/luajit2/src/host/buildvm.c:73:10: fatal error: 
buildvm_arch.h:
        ;;   No such file or directory



reply via email to

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