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