From: Dylan Baker Date: Fri, 9 Nov 2018 21:27:56 +0000 (-0800) Subject: meson: Don't set -Wall X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9c2a95b29868f1388408b5eb9193fff39f942217;p=mesa.git meson: Don't set -Wall meson does this for you with its warn levels, so we don't need to set it ourselves. Fixes: d1992255bb29054fa51763376d125183a9f602f3 ("meson: Add build Intel "anv" vulkan driver") Reviewed-by: Eric Engestrom --- diff --git a/meson.build b/meson.build index 18667988bac..dabfb9abddd 100644 --- a/meson.build +++ b/meson.build @@ -787,7 +787,7 @@ endif # Check for generic C arguments c_args = [] -foreach a : ['-Wall', '-Werror=implicit-function-declaration', +foreach a : ['-Werror=implicit-function-declaration', '-Werror=missing-prototypes', '-Werror=return-type', '-fno-math-errno', '-fno-trapping-math', '-Qunused-arguments'] @@ -809,7 +809,7 @@ endif # Check for generic C++ arguments cpp_args = [] -foreach a : ['-Wall', '-Werror=return-type', +foreach a : ['-Werror=return-type', '-fno-math-errno', '-fno-trapping-math', '-Qunused-arguments'] if cpp.has_argument(a)