summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/games.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index c5c3e8af18..ed9f93b1a0 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -3588,7 +3588,9 @@ are primarily in English, however some in other languages are provided.")
                (mkdir-p (string-append out "/include")))))
          (delete 'configure))           ; no configure script
        #:tests? #f                      ; no check target
-       #:make-flags '("CC=gcc" "sharedlib")))
+       #:make-flags
+       (list (string-append "CC=" ,(cc-for-target))
+             "sharedlib")))
     (inputs
      `(("bzip2" ,bzip2)
        ("libjpeg" ,libjpeg-turbo)