Makefile: Make compile option strictly
authorYoungmin Nam <youngmin.nam@samsung.com>
Fri, 1 Jun 2018 05:16:58 +0000 (14:16 +0900)
committerYoungsoo Kim <youngss.kim@samsung.com>
Sat, 16 Jun 2018 01:52:51 +0000 (10:52 +0900)
This patch adds -Werror option.

Change-Id: I509bde0c3c6d4be4bef9b290e5fe4e29af493dee
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
Makefile

index ce838fbd97e5fa50d6f0e5688957a6e027fda5da..c78c0467444e1776d14722c2fc0fe34edac7b1bc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -429,6 +429,7 @@ KBUILD_CFLAGS   := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
                   -fno-strict-aliasing -fno-common -fshort-wchar \
                   -Werror-implicit-function-declaration \
                   -Wno-format-security \
+                  -Werror \
                   -std=gnu89
 KBUILD_CPPFLAGS := -D__KERNEL__
 KBUILD_AFLAGS_KERNEL :=