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:35:01 +08:00
parent dc93470dc0
commit a138fa6057

View File

@ -303,7 +303,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 \