[libgdata] Disable strict aliasing, since the code is not strict-aliasing-clean

Debarshi Ray rishi at fedoraproject.org
Wed Jul 17 11:36:28 UTC 2013


commit 6018ec06c1761ae91219e9bf43dd99cb7a3573ff
Author: Debarshi Ray <debarshir at gnome.org>
Date:   Wed Jul 17 13:34:54 2013 +0200

    Disable strict aliasing, since the code is not strict-aliasing-clean

 libgdata.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/libgdata.spec b/libgdata.spec
index f9eac76..d334482 100644
--- a/libgdata.spec
+++ b/libgdata.spec
@@ -1,6 +1,6 @@
 Name:           libgdata
 Version:        0.13.3
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Library for the GData protocol
 
 Group:          System Environment/Libraries
@@ -41,7 +41,7 @@ developing applications that use %{name}.
 
 %build
 %configure --disable-static
-make %{?_smp_mflags}
+make %{?_smp_mflags} CFLAGS="$CFLAGS -fno-strict-aliasing"
 
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
@@ -75,6 +75,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 %{_datadir}/vala/
 
 %changelog
+* Tue Jul 16 2013 Matthias Clasen <mclasen at redhat.com> - 0.13.3-2
+- Disable strict aliasing, since the code is not strict-aliasing-clean
+
 * Tue Feb 26 2013 Kalev Lember <kalevlember at gmail.com> - 0.13.3-1
 - Update to 0.13.3
 - Add vala bindings


More information about the scm-commits mailing list