Added no-strict-aliasing flag to stop rpmdiff from complaining.

epel9
Jonathan Robie 15 years ago
parent bf05e3b778
commit 3a0f57357b

@ -1,7 +1,7 @@
Summary: Validating XML Parser
Name: xerces-c
Version: 3.0.1
Release: 19%{?dist}
Release: 20%{?dist}
License: ASL 2.0
Group: System Environment/Libraries
URL: http://xml.apache.org/xerces-c/
@ -57,6 +57,8 @@ cp -a samples/ _docs/
# --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.
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
export CXXFLAGS="$CFLAGS"
%configure --disable-static \
--disable-pretty-make \
--disable-sse2
@ -117,6 +119,9 @@ rm -rf $RPM_BUILD_ROOT
%doc README LICENSE NOTICE CREDITS doc _docs/*
%changelog
* Fri Jul 9 2010 Jonathan Robie <jrobie@localhost.localdomain> - 3.0.1-20
- Added no-strict-aliasing flag to stop rpmdiff from griping
* Wed May 26 2010 Kalev Lember <kalev@smartlink.ee> 3.0.1-19
- Fix multilib conflict caused by Xerces_autoconf_config.hpp (#595923)

Loading…
Cancel
Save