From d6e8a84e2ac0990b6750b93f47d20e58e8488569 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 20 Jan 2018 20:59:06 +0200 Subject: gnu: godot: Fix building on aarch64-linux. * gnu/packages/game-development.scm (godot)[arguments]: Add a flag when building for aarch64-linux to build without threads. --- gnu/packages/game-development.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index 4cd3804d19..0b08b04f51 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -1069,6 +1069,10 @@ games.") (arguments `(#:scons ,scons-python2 #:scons-flags (list "platform=x11" + ,@(if (string-prefix? "aarch64" (or (%current-target-system) + (%current-system))) + `("CCFLAGS=-DNO_THREADS") + '()) ;; Avoid using many of the bundled libs. ;; Note: These options can be found in the SConstruct file. "builtin_freetype=no" -- cgit v1.2.3