From 5b32f0b7262138a5a08fd03c97bbe9695ede0550 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Fri, 14 May 2010 13:41:03 +0000 Subject: [PATCH] Disable explicit -msse2 to make sure the binaries run on non-SSE2 i686 --- xerces-c.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/xerces-c.spec b/xerces-c.spec index 7654750..f774a15 100644 --- a/xerces-c.spec +++ b/xerces-c.spec @@ -1,7 +1,7 @@ Summary: Validating XML Parser Name: xerces-c Version: 3.0.1 -Release: 16%{?dist} +Release: 17%{?dist} License: ASL 2.0 Group: System Environment/Libraries URL: http://xml.apache.org/xerces-c/ @@ -53,7 +53,12 @@ mkdir -p _docs cp -a samples/ _docs/ %build -%configure --disable-static --disable-pretty-make +# --disable-sse2 makes sure explicit -msse2 isn't passed to gcc so +# the binaries would be compatible with non-SSE2 i686 hardware. +# This only affects i686, as on x86_64 the compiler uses SSE2 by default. +%configure --disable-static \ + --disable-pretty-make \ + --disable-sse2 make %{?_smp_mflags} %install @@ -90,6 +95,9 @@ rm -rf $RPM_BUILD_ROOT %doc README LICENSE NOTICE CREDITS doc _docs/* %changelog +* Fri May 14 2010 Kalev Lember 3.0.1-17 +- Disable explicit -msse2 to make sure the binaries run on non-SSE2 i686 + * Sun Feb 07 2010 Kalev Lember 3.0.1-16 - Reintroduce a patch for CVE-2009-1885 - Don't build static library