summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-11-15 23:17:40 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-11-15 23:17:40 +0200
commit54d478fd9b052b7cabf32f06b1faa637a8d1607a (patch)
tree0df803486efc0721d8c31a365f482779560f3257
parent15929beb5f1cd2bf96c53eef0f5da3e986c30530 (diff)
downloadguix-54d478fd9b052b7cabf32f06b1faa637a8d1607a.tar.gz
gnu: curseofwar: Cross compile.
* gnu/packages/games.scm (curseofwar)[arguments]: Use cc-for-target in
make-flags.
-rw-r--r--gnu/packages/games.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 4ab7436daf..ddf0108367 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -11961,7 +11961,8 @@ game FPS.")
     (arguments
      `(#:tests? #f; no tests
        #:make-flags
-       (list "CC=gcc" "PREFIX="
+       (list (string-append "CC=" ,(cc-for-target))
+             "PREFIX="
              (string-append "DESTDIR=" (assoc-ref %outputs "out")))
        #:phases
        (modify-phases %standard-phases