meson: Don't set -Wall
authorDylan Baker <dylan@pnwbakers.com>
Fri, 9 Nov 2018 21:27:56 +0000 (13:27 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Mon, 12 Nov 2018 16:55:55 +0000 (08:55 -0800)
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 <eric.engestrom@intel.com>
meson.build

index 18667988bac059c0bc61f727af605b1c6fff5f98..dabfb9abddda7ef4b4bbb550a518653eaa2ff7a0 100644 (file)
@@ -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)