From 0605e8655882565f5dcae369f34e1fb51595d2b2 Mon Sep 17 00:00:00 2001 From: Youngmin Nam Date: Fri, 1 Jun 2018 14:16:58 +0900 Subject: [PATCH] Makefile: Make compile option strictly This patch adds -Werror option. Change-Id: I509bde0c3c6d4be4bef9b290e5fe4e29af493dee Signed-off-by: Youngmin Nam --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index ce838fbd97e5..c78c0467444e 100644 --- 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 := -- 2.20.1