mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-01-04 23:50:19 +01:00
configure: enable -Wshadow when available
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
parent
0ec7f4423d
commit
598294dde8
1 changed files with 1 additions and 1 deletions
|
|
@ -174,7 +174,7 @@ MAYBE_WARN="-Wall -Wextra \
|
|||
-Wstrict-aliasing=2 -Winit-self \
|
||||
-Wdeclaration-after-statement -Wold-style-definition \
|
||||
-Wno-missing-field-initializers -Wno-unused-parameter \
|
||||
-Wno-attributes -Wno-long-long -Winline"
|
||||
-Wno-attributes -Wno-long-long -Winline -Wshadow"
|
||||
|
||||
# invalidate cached value if MAYBE_WARN has changed
|
||||
if test "x$libdrm_cv_warn_maybe" != "x$MAYBE_WARN"; then
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue