Add -fno-strict-aliasing
This commit is contained in:
parent
bb4e55a90d
commit
6fb76860d5
@ -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@redhat.com> - 2:2.12.1-2
|
||||
- Add -fno-strict-aliasing
|
||||
|
||||
* Sun Mar 31 2013 Peter Robinson <pbrobinson@fedoraproject.org> 2:2.12.1-1
|
||||
- Update to upstream version 2.12.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user