rpms/xerces-c/devel xerces-c.spec,1.30,1.31
Jonathan Robie
jonathanrobie at fedoraproject.org
Fri Jul 9 18:31:37 UTC 2010
Author: jonathanrobie
Update of /cvs/pkgs/rpms/xerces-c/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv20673
Modified Files:
xerces-c.spec
Log Message:
Added no-strict-aliasing flag to stop rpmdiff from complaining.
Index: xerces-c.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xerces-c/devel/xerces-c.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -p -r1.30 -r1.31
--- xerces-c.spec 26 May 2010 13:22:01 -0000 1.30
+++ xerces-c.spec 9 Jul 2010 18:31:37 -0000 1.31
@@ -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 at localhost.localdomain> - 3.0.1-20
+- Added no-strict-aliasing flag to stop rpmdiff from griping
+
* Wed May 26 2010 Kalev Lember <kalev at smartlink.ee> 3.0.1-19
- Fix multilib conflict caused by Xerces_autoconf_config.hpp (#595923)
More information about the scm-commits
mailing list