mirror of
https://github.com/dgibson/dtc.git
synced 2025-12-07 05:35:07 -05:00
Makefile: enable -Wshadow by default
Now that all -Wshadow build warnings/errors are fixed, turn on -Wshadow by default to make sure we would catch new potential shadow warnings. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
This commit is contained in:
parent
3a584d4760
commit
c231d94e0f
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -17,7 +17,7 @@ CONFIG_LOCALVERSION =
|
||||||
|
|
||||||
CPPFLAGS = -I libfdt -I .
|
CPPFLAGS = -I libfdt -I .
|
||||||
WARNINGS = -Werror -Wall -Wpointer-arith -Wcast-qual -Wnested-externs \
|
WARNINGS = -Werror -Wall -Wpointer-arith -Wcast-qual -Wnested-externs \
|
||||||
-Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls
|
-Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow
|
||||||
CFLAGS = -g -Os -fPIC -Werror $(WARNINGS)
|
CFLAGS = -g -Os -fPIC -Werror $(WARNINGS)
|
||||||
|
|
||||||
BISON = bison
|
BISON = bison
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue