From 86165a6f12ade51568f4e3967dbcf42bdc0491f9 Mon Sep 17 00:00:00 2001 From: Adel Gadllah Date: Thu, 5 Aug 2010 19:29:10 +0200 Subject: [PATCH] Reenable SSE on x86_64 SSE/SSE2 is part of the standard x86_64 ABI and thus *always* present. --- xapian-core.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/xapian-core.spec b/xapian-core.spec index 6e1e816..c1cdbcf 100644 --- a/xapian-core.spec +++ b/xapian-core.spec @@ -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 - 1.2.2-5 +- Reenable SSE on x86_64 + * Thu Aug 5 2010 Peter Robinson - 1.2.2-4 - Disable SSE instructions by default