From 334f8684ef8d96ef24b20322e012a7771e4f4f68 Mon Sep 17 00:00:00 2001 From: Roman Rakus Date: Thu, 12 Feb 2009 13:36:28 +0000 Subject: [PATCH] Use -fno-strict-aliasing to prevent strict_aliasing warnings/errors --- cdrkit.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cdrkit.spec b/cdrkit.spec index b26d119..58a6936 100644 --- a/cdrkit.spec +++ b/cdrkit.spec @@ -1,7 +1,7 @@ Summary: A collection of CD/DVD utilities Name: cdrkit Version: 1.1.9 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2 Group: Applications/System URL: http://cdrkit.org/ @@ -77,7 +77,7 @@ find doc -type f -print0 | xargs -0 chmod a-x %build mkdir fedora cd fedora -export CFLAGS="$RPM_OPT_FLAGS -Wall -Werror -Wno-unused-function -Wno-unused-variable" +export CFLAGS="$RPM_OPT_FLAGS -Wall -Werror -Wno-unused-function -Wno-unused-variable -fno-strict-aliasing" export CXXFLAGS="$CFLAGS" export FFLAGS="$CFLAGS" cmake .. \ @@ -206,6 +206,9 @@ fi %{_mandir}/man1/readmult.* %changelog +* Thu Feb 12 2009 Roman Rakus - 1.1.9-2 +- Use -fno-strict-aliasing to prevent strict_aliasing warnings/errors + * Mon Oct 27 2008 Roman Rakus - 1.1.9-1 - Bump to version 1.1.9