From af9f26d1e5f05f524675bb3e9cbb7e36142b6615 Mon Sep 17 00:00:00 2001 From: David Gibson Date: Mon, 16 Nov 2015 23:45:36 +1100 Subject: [PATCH] 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 [Moved remaining -Werror from WARNINGS to CFLAGS --dwg] Signed-off-by: David Gibson --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)