summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2017-09-11 22:32:46 +0300
committerEfraim Flashner <efraim@flashner.co.il>2017-09-12 09:55:07 +0300
commitfa7647c6317c5d8a6e3a41b72c3f9e36828531da (patch)
treef17f538189e6034a0c72850afe000662ab67790d
parentf435379762c682c83cde318004d7ed5deaab01b2 (diff)
downloadguix-fa7647c6317c5d8a6e3a41b72c3f9e36828531da.tar.gz
gnu: monero: Fix building on aarch64-linux.
* gnu/packages/finance.scm (monero)[arguments]: Add a configure-flag to
set architecture type on aarch64.
-rw-r--r--gnu/packages/finance.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index a1848b308a..06b8f1c5ba 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -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