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 .. \