From fe18686c83575af8c9b5125d13617bcc04c24cc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tinkl?= Date: Wed, 29 May 2013 18:10:11 +0200 Subject: [PATCH] use -fno-strict-aliasing --- redland.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 1.0.16-3 +- use -fno-strict-aliasing + * Tue Mar 26 2013 Rex Dieter 1.0.16-2 - rdfproc: Failed to open hashes storage (#914634)