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:
parent
e32d302474
commit
d6e8a84e2a
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue