Accepting request 221848 from home:bmwiedemann:branches:Base:System
disable SSE2 on i586 (bnc#860779) OBS-URL: https://build.opensuse.org/request/show/221848 OBS-URL: https://build.opensuse.org/package/show/Base:System/dd_rescue?expand=0&rev=20
This commit is contained in:
parent
fd664a12aa
commit
ac8f7055a9
@ -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
|
||||
|
||||
|
@ -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} \
|
||||
|
Loading…
x
Reference in New Issue
Block a user