[redland] use -fno-strict-aliasing

Lukas Tinkl ltinkl at fedoraproject.org
Wed May 29 16:10:18 UTC 2013


commit fe18686c83575af8c9b5125d13617bcc04c24cc8
Author: Lukáš Tinkl <lukas at kde.org>
Date:   Wed May 29 18:10:11 2013 +0200

    use -fno-strict-aliasing

 redland.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/redland.spec b/redland.spec
index 1a6960a..99c149f 100644
--- a/redland.spec
+++ b/redland.spec
@@ -1,6 +1,6 @@
 Name:           redland
 Version:        1.0.16
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        RDF Application Framework
 
 Group:          System Environment/Libraries
@@ -69,6 +69,8 @@ sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
 %endif
 
 %build
+export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
+export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
 %configure \
   --enable-release \
   --disable-static 
@@ -140,6 +142,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue May 28 2013 Lukáš Tinkl <ltinkl at redhat.com> 1.0.16-3
+- use -fno-strict-aliasing
+
 * Tue Mar 26 2013 Rex Dieter <rdieter at fedoraproject.org> 1.0.16-2
 - rdfproc: Failed to open hashes storage (#914634)
 


More information about the scm-commits mailing list