gnu: libsbsms: Fix build on non-Intel platforms.

* gnu/packages/audio.scm (libsbsms)[arguments]: Add "--disable-sse" to
  configure-flags unless on x86_64.
This commit is contained in:
Mark H Weaver 2015-07-21 16:35:43 -04:00
parent 09c414d80c
commit 476b2877ad
1 changed files with 7 additions and 1 deletions

View File

@ -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