Disable explicit -msse2 to make sure the binaries run on non-SSE2 i686

epel9
Kalev Lember 15 years ago
parent 0923a22ea7
commit 5b32f0b726

@ -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 <kalev@smartlink.ee> 3.0.1-17
- Disable explicit -msse2 to make sure the binaries run on non-SSE2 i686
* Sun Feb 07 2010 Kalev Lember <kalev@smartlink.ee> 3.0.1-16
- Reintroduce a patch for CVE-2009-1885
- Don't build static library

Loading…
Cancel
Save