From a95ba61d324e6e30e1c5b8e936176ff71af4d938 Mon Sep 17 00:00:00 2001 From: Frediano Ziglio Date: Wed, 24 Jun 2020 13:58:01 +0100 Subject: build: Remove -Werror from Meson build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In Meson better to use --werror option instead to manually add to options. Also this prevents build if spice-protocol deprecate some stuff or fails the build if any warning occur. This fixes an issue for https://gitlab.freedesktop.org/spice/spice/-/issues/44. Signed-off-by: Frediano Ziglio Acked-by: Julien Ropé --- meson.build | 1 - 1 file changed, 1 deletion(-) diff --git a/meson.build b/meson.build index 185f1a9..90b486e 100644 --- a/meson.build +++ b/meson.build @@ -12,7 +12,6 @@ endif # some global vars spice_common_global_cflags = ['-DG_LOG_DOMAIN="Spice"', - '-Werror', '-Wno-unused-parameter'] if get_option('alignment-checks') -- cgit v1.2.3