summaryrefslogtreecommitdiff
path: root/libvirt.spec.in
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2021-07-28 15:13:48 +0100
committerDaniel P. Berrangé <berrange@redhat.com>2021-07-28 17:33:43 +0100
commitf5c022a3890a7e94bde6df3cf7f6889f0c7ba7e8 (patch)
tree4628228a15ee17b646e1e0dd7a77734f3c8ab18f /libvirt.spec.in
parentefa367cbd56f07576b1ce62013103899de35221f (diff)
downloadlibvirt-f5c022a3890a7e94bde6df3cf7f6889f0c7ba7e8.tar.gz
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 <mprivozn@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'libvirt.spec.in')
-rw-r--r--libvirt.spec.in2
1 files changed, 1 insertions, 1 deletions
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"