From 476b2877addbb0dbe0e3c2de26fa7ae8e37de9ab Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Tue, 21 Jul 2015 16:35:43 -0400 Subject: 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 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gnu/packages') 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 -- cgit 1.4.1