aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2015-11-16 23:45:36 +1100
committerDavid Gibson <david@gibson.dropbear.id.au>2015-11-16 23:45:36 +1100
commitaf9f26d1e5f05f524675bb3e9cbb7e36142b6615 (patch)
treebab46a3afdf3b84610da2299c6306a2a4dab2792 /Makefile
parent604e61e081e3c6c8fa1a8189c71cb3908a5bbc1e (diff)
downloaddtc-af9f26d1e5f05f524675bb3e9cbb7e36142b6615.zip
dtc-af9f26d1e5f05f524675bb3e9cbb7e36142b6615.tar.gz
dtc-af9f26d1e5f05f524675bb3e9cbb7e36142b6615.tar.bz2
Remove duplicated -Werror in dtc Makefile
The "-Werror" compiler flag is currently declared twice in the Makefile, one time in WARNINGS, and one time in CFLAGS. Let's remove one of them. Signed-off-by: Thomas Huth <thuth@redhat.com> [Moved remaining -Werror from WARNINGS to CFLAGS --dwg] Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c1d0757..078ecf6 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ LOCAL_VERSION =
CONFIG_LOCALVERSION =
CPPFLAGS = -I libfdt -I .
-WARNINGS = -Werror -Wall -Wpointer-arith -Wcast-qual -Wnested-externs \
+WARNINGS = -Wall -Wpointer-arith -Wcast-qual -Wnested-externs \
-Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow
CFLAGS = -g -Os -fPIC -Werror $(WARNINGS)