[bzr/f19] Turn off strict aliasing in CFLAGS
Ondrej Oprala
ooprala at fedoraproject.org
Thu Apr 25 15:12:09 UTC 2013
commit 27b2cbcfe681f3435f41c4b1e36d0e5f2b102ce5
Author: Ondrej Oprala <ooprala at redhat.com>
Date: Thu Apr 25 17:08:57 2013 +0200
Turn off strict aliasing in CFLAGS
bzr.spec | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/bzr.spec b/bzr.spec
index 8044a08..11264d3 100644
--- a/bzr.spec
+++ b/bzr.spec
@@ -13,7 +13,7 @@
%global bzrmajor 2.5
%global bzrminor .1
#global bzrrc b6
-%global release 5
+%global release 6
Name: bzr
Version: %{bzrmajor}%{?bzrminor}
@@ -71,6 +71,8 @@ sed -i '1{/#![[:space:]]*\/usr\/bin\/\(python\|env\)/d}' bzrlib/_patiencediff_py
sed -i '1{/#![[:space:]]*\/usr\/bin\/\(python\|env\)/d}' bzrlib/weave.py
%build
+RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
+export RPM_OPT_FLAGS
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
chmod a-x contrib/bash/bzrbashprompt.sh
@@ -139,6 +141,9 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_defaultdocdir}/%{name}-doc-%{version}/*
%changelog
+* Thu Apr 25 2013 Ondrej Oprala <ooprala at redhat.com - 2.5.1-6
+- Turn off strict aliasing in CFLAGS
+
* Thu Apr 25 2013 Ondrej Oprala <ooprala at redhat.com - 2.5.1-5
- Add condition not to include python-paramiko in RHEL7 and above
More information about the scm-commits
mailing list