diff options
author | Mark H Weaver <mhw@netris.org> | 2015-07-21 16:35:43 -0400 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2015-07-21 18:25:41 -0400 |
commit | 476b2877addbb0dbe0e3c2de26fa7ae8e37de9ab (patch) | |
tree | a9e84eadac4d6f85aa771920caad9ee0a5fd681b /gnu | |
parent | 09c414d80c00e9f04b871e334eb0ca3190d46bf0 (diff) | |
download | guix-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')
-rw-r--r-- | 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 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 |