gnu: monero: Fix building on aarch64-linux.

* gnu/packages/finance.scm (monero)[arguments]: Add a configure-flag to
set architecture type on aarch64.
master
Efraim Flashner 2017-09-11 22:32:46 +03:00
parent f435379762
commit fa7647c631
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015, 2016 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2017 Carlo Zancanaro <carlo@zancanaro.id.au>
@ -346,6 +346,9 @@ other machines/servers. Electrum does not download the Bitcoin blockchain.")
(arguments
`(#:out-of-source? #t
#:configure-flags '("-DBUILD_TESTS=ON"
,@(if (string=? "aarch64-linux" (%current-system))
'("-DARCH=armv8-a")
'())
"-DBUILD_GUI_DEPS=ON")
#:phases
(modify-phases %standard-phases