[quagga] Build with -fno-strict-aliasing

Adam Tkac atkac at fedoraproject.org
Thu Jul 12 12:55:58 UTC 2012


commit f24af48eca6f91af360d369bf8b581d77e2cab23
Author: Adam Tkac <atkac at redhat.com>
Date:   Thu Jul 12 14:55:36 2012 +0200

    Build with -fno-strict-aliasing
    
    Signed-off-by: Adam Tkac <atkac at redhat.com>

 quagga.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/quagga.spec b/quagga.spec
index fe6fb2e..45dec62 100644
--- a/quagga.spec
+++ b/quagga.spec
@@ -32,7 +32,7 @@
 Summary:    Routing daemon
 Name:       quagga
 Version:    0.99.21
-Release:    2%{?dist}
+Release:    3%{?dist}
 License:    GPLv2+
 Group:      System Environment/Daemons
 Source0:    http://www.quagga.net/download/%{name}-%{version}.tar.xz
@@ -120,8 +120,8 @@ developing OSPF-API and quagga applications.
 %build
 # FC5+ automatic -fstack-protector-all switch
 export RPM_OPT_FLAGS=${RPM_OPT_FLAGS//-fstack-protector/-fstack-protector-all}
-export CFLAGS="$RPM_OPT_FLAGS $CPPFLAGS"
-export CXXFLAGS="$RPM_OPT_FLAGS $CPPFLAGS"
+export CFLAGS="$RPM_OPT_FLAGS $CPPFLAGS -fno-strict-aliasing"
+export CXXFLAGS="$RPM_OPT_FLAGS $CPPFLAGS -fno-strict-aliasing"
 
 %configure \
 %if %with_ipv6
@@ -436,6 +436,9 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Thu Jul 12 2012 Adam Tkac <atkac redhat com> 0.99.21-3
+- build with -fno-strict-aliasing
+
 * Thu Jun 07 2012 Adam Tkac <atkac redhat com> 0.99.21-2
 - fix CVE-2012-1820
 


More information about the scm-commits mailing list