From: Daniel P. Berrangé Date: Wed, 28 Jul 2021 14:13:48 +0000 (+0100) Subject: rpm: properly disable -Werror X-Git-Tag: v7.6.0-rc2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5c022a3890a7e94bde6df3cf7f6889f0c7ba7e8;p=thirdparty%2Flibvirt.git rpm: properly disable -Werror Since we use git to manage RPM applied patches, we need to disable both meson's -Werror config knob and libvirt's equivalent. Reviewed-by: Michal Privoznik Signed-off-by: Daniel P. Berrangé --- diff --git a/libvirt.spec.in b/libvirt.spec.in index cb48dd0be0..5c6494eefd 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -192,7 +192,7 @@ %if 0%{?rhel} %define enable_werror -Dwerror=true %else - %define enable_werror -Dwerror=false + %define enable_werror -Dwerror=false -Dgit_werror=disabled %endif %define tls_priority "@LIBVIRT,SYSTEM"