From 6fb76860d52aa9b1c8cd9151c506dfc86330a83f Mon Sep 17 00:00:00 2001 From: Vitezslav Crhonek Date: Thu, 25 Apr 2013 16:34:35 +0200 Subject: [PATCH] Add -fno-strict-aliasing --- tog-pegasus.spec | 7 +++++-- 1 file 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 - 2:2.12.1-2 +- Add -fno-strict-aliasing + * Sun Mar 31 2013 Peter Robinson 2:2.12.1-1 - Update to upstream version 2.12.1