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
This commit is contained in:
Pavol Rusnak 2011-10-10 14:51:21 +00:00 committed by Git OBS Bridge
parent 1b97f5321c
commit 75c70f7b77
2 changed files with 15 additions and 2 deletions

View File

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

View File

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