Explicitly disable -Werror for builds
The use of %autosetup -S git_am clashes with spice-compile-warnings.m4 handling of -Werror. It automatically enables -Werror for builds from git, which are detected through the presence of a .git directory is $srcdir. %autosetup will create such a dir, so -Werror will be enabled, which is unwanted and a change of behaviour from previous builds.
This commit is contained in:
parent
a089ec2f5f
commit
ea849b12d3
@ -117,8 +117,9 @@ find . -name '*.stamp' | xargs touch
|
|||||||
--enable-webdav \
|
--enable-webdav \
|
||||||
--with-usb-acl-helper-dir=%{_libexecdir}/spice-gtk-%{_arch}/ \
|
--with-usb-acl-helper-dir=%{_libexecdir}/spice-gtk-%{_arch}/ \
|
||||||
--enable-lz4 \
|
--enable-lz4 \
|
||||||
--enable-vala
|
--enable-vala \
|
||||||
make %{?_smp_mflags}
|
--disable-werror
|
||||||
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
Reference in New Issue
Block a user