From 3816b56f8a16cd42b04abc07602c48f67a761c83893c8b1a6bb88eebce4d69c3 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Mon, 10 Oct 2011 14:51:21 +0000 Subject: [PATCH] Accepting request 87191 from openSUSE:Factory:ARM unbreak non-intel build again OBS-URL: https://build.opensuse.org/request/show/87191 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/fftw3?expand=0&rev=15 --- fftw3.changes | 5 +++++ fftw3.spec | 12 ++++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/fftw3.changes b/fftw3.changes index c6b5d81..35eaaff 100644 --- a/fftw3.changes +++ b/fftw3.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Oct 9 17:48:50 UTC 2011 - adrian@suse.de + +- enable sse only on supported architectures + ------------------------------------------------------------------- Wed Sep 28 02:22:14 UTC 2011 - dhall@wustl.edu diff --git a/fftw3.spec b/fftw3.spec index ecaae3e..003e71f 100644 --- a/fftw3.spec +++ b/fftw3.spec @@ -133,7 +133,11 @@ data, and of arbitrary input size. # autoreconf --force --install %build -%configure --enable-shared --enable-threads --enable-openmp --enable-mpi --enable-sse2 --disable-static +%configure --enable-shared --enable-threads --enable-openmp --enable-mpi \ +%ifarch %ix86 x86_64 + --enable-sse2 \ +%endif + --disable-static make %{?_smp_mflags} %install @@ -142,7 +146,11 @@ make %{?_smp_mflags} rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.*a # hack to also compile/install single-precision version: make distclean -%configure --enable-shared --enable-threads --enable-float --enable-openmp --enable-mpi --enable-sse --disable-static +%configure --enable-shared --enable-threads --enable-float --enable-openmp --enable-mpi \ +%ifarch %ix86 x86_64 + --enable-sse \ +%endif + --disable-static make %{?_smp_mflags} %makeinstall # remove unneeded files