From 0b09364d5f00d2b8b2e341487c6a33ede76bfb9a Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 11 Nov 2020 13:35:00 +0100 Subject: 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(-) (limited to 'gnu') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 7c36e67498..439e369fe4 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 -- cgit v1.2.3