guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: godot: Fix building on aarch64-linux.


From: Efraim Flashner
Subject: 01/01: gnu: godot: Fix building on aarch64-linux.
Date: Sat, 20 Jan 2018 15:15:52 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit d6e8a84e2ac0990b6750b93f47d20e58e8488569
Author: Efraim Flashner <address@hidden>
Date:   Sat Jan 20 20:59:06 2018 +0200

    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 4cd3804..0b08b04 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"



reply via email to

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