summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2014-01-24 17:19:13 -0800
committerDavid Gibson <david@gibson.dropbear.id.au>2014-01-25 15:11:20 +1100
commitc231d94e0f620bc25c76415e09f7dea939064bd8 (patch)
tree09f88dd9357dd9b989b7d10778a6bdae47b90821
parent3a584d4760cfc81d21039346b0ce1cb5233e1d72 (diff)
downloaddevice-tree-compiler-c231d94e0f620bc25c76415e09f7dea939064bd8.tar.gz
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>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 70abf05..afc0ce0 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ CONFIG_LOCALVERSION =
CPPFLAGS = -I libfdt -I .
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)
BISON = bison