summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2015-07-21 16:35:43 -0400
committerMark H Weaver <mhw@netris.org>2015-07-21 18:25:41 -0400
commit476b2877addbb0dbe0e3c2de26fa7ae8e37de9ab (patch)
treea9e84eadac4d6f85aa771920caad9ee0a5fd681b /gnu/packages
parent09c414d80c00e9f04b871e334eb0ca3190d46bf0 (diff)
downloadguix-476b2877addbb0dbe0e3c2de26fa7ae8e37de9ab.tar.gz
gnu: libsbsms: Fix build on non-Intel platforms.
* gnu/packages/audio.scm (libsbsms)[arguments]: Add "--disable-sse" to
  configure-flags unless on x86_64.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/audio.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index e803979b59..388e4ea704 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