Mesa (staging/18.3): meson: Don't set -Wall
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Nov 14 18:56:14 UTC 2018
Module: Mesa
Branch: staging/18.3
Commit: 6a706763d0266bb1c4f86faff8b8a71fd4386641
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6a706763d0266bb1c4f86faff8b8a71fd4386641
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Fri Nov 9 13:27:56 2018 -0800
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 <eric.engestrom at intel.com>
(cherry picked from commit 9c2a95b29868f1388408b5eb9193fff39f942217)
---
meson.build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meson.build b/meson.build
index 18667988ba..dabfb9abdd 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)
More information about the mesa-commit
mailing list