aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2017-10-20 16:23:10 +0300
committerEfraim Flashner <efraim@flashner.co.il>2017-10-20 16:23:48 +0300
commitf71ce2824d8838109c7ad812f4284de16a3b0afc (patch)
tree8710fc6c9dd56273fe63d485fa18cc72462c5c9e
parent6df274073a15f33fcced306c068af9e84b96b8b9 (diff)
downloadpatches-f71ce2824d8838109c7ad812f4284de16a3b0afc.tar
patches-f71ce2824d8838109c7ad812f4284de16a3b0afc.tar.gz
gnu: speexdsp: Fix building on aarch64-linux.
* gnu/packages/xiph.scm (speexdsp)[arguments]: On aarch64-linux, disable neon optimisations.
-rw-r--r--gnu/packages/xiph.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/xiph.scm b/gnu/packages/xiph.scm
index 5565cb5563..9277f57ad4 100644
--- a/gnu/packages/xiph.scm
+++ b/gnu/packages/xiph.scm
@@ -5,7 +5,7 @@
;;; Copyright © 2014 Sree Harsha Totakura <sreeharsha@totakura.in>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
-;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2015, 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
;;;
;;; This file is part of GNU Guix.
@@ -167,6 +167,11 @@ stereo encoding, and voice activity detection.")
(base32
"1wcjyrnwlkayb20zdhp48y260rfyzg925qpjpljd5x9r01h8irja"))))
(build-system gnu-build-system)
+ (arguments
+ `(#:configure-flags '(,@(if (string=? "aarch64-linux"
+ (%current-system))
+ '("--enable-neon=no") ; neon defaults to armv7-a
+ '()))))
(home-page "https://speex.org/")
(synopsis "Speex processing library")
(description