From 42031f98dfe62132764a6681d30a7e90e4fd30b9 Mon Sep 17 00:00:00 2001 From: Honza Horak Date: Tue, 1 Feb 2011 17:54:01 +0100 Subject: [PATCH] Gcc warning fixed in spec file --- cdrkit.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cdrkit.spec b/cdrkit.spec index 990d991..bef8c25 100644 --- a/cdrkit.spec +++ b/cdrkit.spec @@ -16,7 +16,6 @@ Patch6: cdrkit-1.1.10-build-fix.patch Patch7: cdrkit-1.1.11-manpagefix.patch Patch8: cdrkit-1.1.11-rootstat.patch - BuildRequires: cmake libcap-devel zlib-devel perl file-devel bzip2-devel BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -101,7 +100,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 -fno-strict-aliasing" +export CFLAGS="$RPM_OPT_FLAGS -Wall -Werror -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-array-bounds -fno-strict-aliasing" export CXXFLAGS="$CFLAGS" export FFLAGS="$CFLAGS" cmake .. \