diff --git a/dd_rescue.changes b/dd_rescue.changes index 956b25a..c70ad6c 100644 --- a/dd_rescue.changes +++ b/dd_rescue.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 11 14:00:38 UTC 2014 - bwiedemann@suse.com + +- disable SSE2 on i586 (bnc#860779) + ------------------------------------------------------------------- Thu Aug 18 23:52:41 CEST 2013 - kurt@garloff.de diff --git a/dd_rescue.spec b/dd_rescue.spec index 31d72a4..0f95816 100644 --- a/dd_rescue.spec +++ b/dd_rescue.spec @@ -1,7 +1,7 @@ # # spec file for package dd_rescue # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -54,7 +54,12 @@ sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/g" dd_rescue.c sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/g" dd_rescue.c %build -make RPM_OPT_FLAGS="%{optflags}" LIBDIR=%{_libdir} %{?_smp_mflags} +flags="%{optflags}" +%ifarch i386 i486 i586 i686 +sed -i 's/SSE = "-msse2"/SSE = "-DNO_SSE2"/' Makefile +flags="%{optflags} -DNO_SSE2" +%endif +make RPM_OPT_FLAGS="$flags" LIBDIR=%{_libdir} %{?_smp_mflags} %install make install DESTDIR=%{buildroot} INSTALLDIR=%{buildroot}/%{_bindir} \