gnu: gnome-planner: Fix building on aarch64.

* gnu/packages/gnome.scm (gnome-planner)[arguments]: Add configure-flag
to set build-target when building on aarch64.
This commit is contained in:
Efraim Flashner 2017-06-19 08:39:16 +03:00
parent 83acf3ead4
commit 20b7b75c32
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 5 additions and 1 deletions

View File

@ -6291,7 +6291,11 @@ text views, and buttons to choose the language.")
;; Disable the Python bindings because the Planner program functions
;; without them, and (as of 2017-06-13) we have not packaged all of
;; packages that are necessary for building the Python bindings.
`(#:configure-flags (list "--disable-python")))
`(#:configure-flags
(list "--disable-python"
,@(if (string=? "aarch64-linux" (%current-system))
'("--build=aarch64-unknown-linux-gnu")
'()))))
(inputs
`(("libgnomecanvas" ,libgnomecanvas)
("libgnomeui" ,libgnomeui)