summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2015-10-17 10:10:07 +0200
committerRicardo Wurmus <rekado@elephly.net>2015-10-17 19:38:46 +0200
commite591a4d6e5db172f1595d665c6e477572c0d171c (patch)
tree0cc417b7517aef90e57ca5fbaa51572f454e4717
parent3dac53be015786dcaba5b58f203006c2ca0ee15e (diff)
gnu: non-sequencer: Disable SSE when not building on x86_64.
* gnu/packages/music.scm (non-sequencer)[arguments]: Add "--disable-sse" flag when not building on x86_64.
-rw-r--r--gnu/packages/music.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index fe8e6f129d..a72f7543dd 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -274,7 +274,13 @@ Guile.")
(build-system waf-build-system)
(arguments
`(#:tests? #f ;no "check" target
- #:configure-flags '("--project=sequencer")
+ #:configure-flags
+ (list "--project=sequencer"
+ ;; Disable the use of SSE unless on x86_64.
+ ,@(if (not (string-prefix? "x86_64" (or (%current-target-system)
+ (%current-system))))
+ '("--disable-sse")
+ '()))
#:python ,python-2))
(inputs
`(("jack" ,jack-1)