From 3a0f57357b8673c00275d963db421e39482bc12b Mon Sep 17 00:00:00 2001 From: Jonathan Robie Date: Jul 09 2010 18:31:37 +0000 Subject: Added no-strict-aliasing flag to stop rpmdiff from complaining. --- diff --git a/xerces-c.spec b/xerces-c.spec index 9886f4c..3fa6797 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: 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 - 3.0.1-20 +- Added no-strict-aliasing flag to stop rpmdiff from griping + * Wed May 26 2010 Kalev Lember 3.0.1-19 - Fix multilib conflict caused by Xerces_autoconf_config.hpp (#595923)