[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: non-sequencer: Disable SSE when not building on x86_64.
From: |
Ricardo Wurmus |
Subject: |
01/01: gnu: non-sequencer: Disable SSE when not building on x86_64. |
Date: |
Sat, 17 Oct 2015 17:38:56 +0000 |
rekado pushed a commit to branch master
in repository guix.
commit e591a4d6e5db172f1595d665c6e477572c0d171c
Author: Ricardo Wurmus <address@hidden>
Date: Sat Oct 17 10:10:07 2015 +0200
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.
---
gnu/packages/music.scm | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index fe8e6f1..a72f754 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)