[libmash/f19] Compile with -fno-strict-aliasing

Richard Hughes rhughes at fedoraproject.org
Thu May 9 14:17:42 UTC 2013


commit 8a5e30879941f971e7773fafe927ab9bcc56bbaf
Author: Richard Hughes <richard at hughsie.com>
Date:   Thu May 9 15:14:35 2013 +0100

    Compile with -fno-strict-aliasing

 libmash.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/libmash.spec b/libmash.spec
index 689943b..af2bd2c 100644
--- a/libmash.spec
+++ b/libmash.spec
@@ -1,7 +1,7 @@
 Summary: A library for using real 3D models within a Clutter scene
 Name: libmash
 Version: 0.2.0
-Release: 8%{?dist}
+Release: 9%{?dist}
 URL: http://clutter-project.github.com/mash/
 Source0: https://github.com/downloads/clutter-project/mash/mash-%{version}.tar.xz
 
@@ -40,6 +40,8 @@ development of programs using %{name}.
 
 %build
 autoconf
+
+export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
 %configure
 make %{?_smp_mflags}
 
@@ -72,6 +74,10 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
 %dir %{_datadir}/gir-1.0
 
 %changelog
+* Thu May 09 2013 Richard Hughes <rhughes at redhat.com> - 0.2.0-9
+- Compile with -fno-strict-aliasing
+- Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=905497
+
 * Thu Feb 21 2013 Kalev Lember <kalevlember at gmail.com> - 0.2.0-8
 - Rebuilt for cogl soname bump
 


More information about the scm-commits mailing list