rpms/xerces-c/F-13 xerces-c.spec,1.29,1.30

Jonathan Robie jonathanrobie at fedoraproject.org
Fri Jul 9 17:09:55 UTC 2010


Author: jonathanrobie

Update of /cvs/pkgs/rpms/xerces-c/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv10881

Modified Files:
	xerces-c.spec 
Log Message:
Added no-strict-aliasing flag to stop rpmdiff from griping.



Index: xerces-c.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xerces-c/F-13/xerces-c.spec,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -p -r1.29 -r1.30
--- xerces-c.spec	26 May 2010 19:41:16 -0000	1.29
+++ xerces-c.spec	9 Jul 2010 17:09:55 -0000	1.30
@@ -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