Gcc warning fixed in spec file
This commit is contained in:
parent
730bcb0a08
commit
42031f98df
@ -16,7 +16,6 @@ Patch6: cdrkit-1.1.10-build-fix.patch
|
|||||||
Patch7: cdrkit-1.1.11-manpagefix.patch
|
Patch7: cdrkit-1.1.11-manpagefix.patch
|
||||||
Patch8: cdrkit-1.1.11-rootstat.patch
|
Patch8: cdrkit-1.1.11-rootstat.patch
|
||||||
|
|
||||||
|
|
||||||
BuildRequires: cmake libcap-devel zlib-devel perl file-devel bzip2-devel
|
BuildRequires: cmake libcap-devel zlib-devel perl file-devel bzip2-devel
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
@ -101,7 +100,7 @@ find doc -type f -print0 | xargs -0 chmod a-x
|
|||||||
%build
|
%build
|
||||||
mkdir fedora
|
mkdir fedora
|
||||||
cd 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 CXXFLAGS="$CFLAGS"
|
||||||
export FFLAGS="$CFLAGS"
|
export FFLAGS="$CFLAGS"
|
||||||
cmake .. \
|
cmake .. \
|
||||||
|
Loading…
Reference in New Issue
Block a user