[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: libsbsms: Fix build on non-Intel platforms.
From: |
Mark H. Weaver |
Subject: |
02/02: gnu: libsbsms: Fix build on non-Intel platforms. |
Date: |
Tue, 21 Jul 2015 22:25:52 +0000 |
mhw pushed a commit to branch master
in repository guix.
commit 476b2877addbb0dbe0e3c2de26fa7ae8e37de9ab
Author: Mark H Weaver <address@hidden>
Date: Tue Jul 21 16:35:43 2015 -0400
gnu: libsbsms: Fix build on non-Intel platforms.
* gnu/packages/audio.scm (libsbsms)[arguments]: Add "--disable-sse" to
configure-flags unless on x86_64.
---
gnu/packages/audio.scm | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index e803979..388e4ea 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -1375,7 +1375,13 @@ analysis plugins or audio feature extraction plugins.")
(build-system gnu-build-system)
(native-inputs `(("automake" ,automake)))
(arguments
- `(#:phases
+ `(#:configure-flags
+ ;; Disable the use of SSE unless on x86_64.
+ ,(if (not (string-prefix? "x86_64" (or (%current-target-system)
+ (%current-system))))
+ ''("--disable-sse")
+ ''())
+ #:phases
(modify-phases %standard-phases
(add-after
'unpack 'fix-ar-lib-path