Reenable SSE on x86_64
SSE/SSE2 is part of the standard x86_64 ABI and thus *always* present.
This commit is contained in:
parent
ec183e921d
commit
86165a6f12
@ -1,6 +1,6 @@
|
||||
Name: xapian-core
|
||||
Version: 1.2.2
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: The Xapian Probabilistic Information Retrieval Library
|
||||
|
||||
Group: Applications/Databases
|
||||
@ -44,7 +44,12 @@ files needed for building packages which use Xapian
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
# Disable SSE on x86, but leave it intact for x86_64
|
||||
%ifarch x86_64
|
||||
%configure --disable-static
|
||||
%else
|
||||
%configure --disable-static --disable-sse
|
||||
%endif
|
||||
|
||||
# Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
@ -103,6 +108,9 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man1/xapian-config.1*
|
||||
|
||||
%changelog
|
||||
* Thu Aug 5 2010 Adel Gadllah <adel.gadllah@gmail.com> - 1.2.2-5
|
||||
- Reenable SSE on x86_64
|
||||
|
||||
* Thu Aug 5 2010 Peter Robinson <pbrobinson@gmail.com> - 1.2.2-4
|
||||
- Disable SSE instructions by default
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user