[tog-pegasus] Add -fno-strict-aliasing

vcrhonek vcrhonek at fedoraproject.org
Thu Apr 25 14:36:19 UTC 2013


commit 6fb76860d52aa9b1c8cd9151c506dfc86330a83f
Author: Vitezslav Crhonek <vcrhonek at redhat.com>
Date:   Thu Apr 25 16:34:35 2013 +0200

    Add -fno-strict-aliasing

 tog-pegasus.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/tog-pegasus.spec b/tog-pegasus.spec
index bbc5822..8d48ca2 100644
--- a/tog-pegasus.spec
+++ b/tog-pegasus.spec
@@ -8,7 +8,7 @@
 
 Name:           tog-pegasus
 Version:        %{major_ver}.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Epoch:          2
 Summary:        OpenPegasus WBEM Services for Linux
 
@@ -229,7 +229,7 @@ export OPENSSL_BIN=%OPENSSL_BIN
 export LD_LIBRARY_PATH=$PEGASUS_HOME/lib
 export PATH=$PEGASUS_HOME/bin:$PATH
 
-export PEGASUS_EXTRA_C_FLAGS="$RPM_OPT_FLAGS -fPIC -g -Wall -Wno-unused"
+export PEGASUS_EXTRA_C_FLAGS="$RPM_OPT_FLAGS -fPIC -g -Wall -Wno-unused -fno-strict-aliasing"
 export PEGASUS_EXTRA_CXX_FLAGS="$PEGASUS_EXTRA_C_FLAGS"
 export PEGASUS_EXTRA_LINK_FLAGS="$RPM_OPT_FLAGS"
 export PEGASUS_EXTRA_PROGRAM_LINK_FLAGS="-g -pie -Wl,-z,relro,-z,now,-z,nodlopen,-z,noexecstack"
@@ -475,6 +475,9 @@ fi
 
 
 %changelog
+* Thu Apr 25 2013 Vitezslav Crhonek <vcrhonek at redhat.com> - 2:2.12.1-2
+- Add -fno-strict-aliasing
+
 * Sun Mar 31 2013 Peter Robinson <pbrobinson at fedoraproject.org> 2:2.12.1-1
 - Update to upstream version 2.12.1
 


More information about the scm-commits mailing list