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.
This commit is contained in:
Efraim Flashner 2018-01-20 20:59:06 +02:00
parent e32d302474
commit d6e8a84e2a
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 4 additions and 0 deletions

View File

@ -1069,6 +1069,10 @@ games.")
(arguments (arguments
`(#:scons ,scons-python2 `(#:scons ,scons-python2
#:scons-flags (list "platform=x11" #: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. ;; Avoid using many of the bundled libs.
;; Note: These options can be found in the SConstruct file. ;; Note: These options can be found in the SConstruct file.
"builtin_freetype=no" "builtin_freetype=no"