spec: enable Werror by default

enable Werror by default so that we can check compilation warnnings

Signed-off-by: Ying Fang <fangying1@huawei.com>
This commit is contained in:
Ying Fang 2020-08-04 15:14:30 +08:00
parent 8583518dca
commit b2456150ba

View File

@ -1,6 +1,6 @@
Name: qemu Name: qemu
Version: 4.1.0 Version: 4.1.0
Release: 15 Release: 16
Epoch: 2 Epoch: 2
Summary: QEMU is a generic and open source machine emulator and virtualizer Summary: QEMU is a generic and open source machine emulator and virtualizer
License: GPLv2 and BSD and MIT and CC-BY License: GPLv2 and BSD and MIT and CC-BY
@ -308,7 +308,6 @@ buildldflags="VL_LDFLAGS=-Wl,--build-id"
--with-pkgversion=%{name}-%{version}-%{release} \ --with-pkgversion=%{name}-%{version}-%{release} \
--python=/usr/bin/python3 \ --python=/usr/bin/python3 \
--disable-strip \ --disable-strip \
--disable-werror \
--disable-slirp \ --disable-slirp \
--enable-gtk \ --enable-gtk \
--enable-docs \ --enable-docs \