From 550b4e03780e7c78c7808ea1a1011c123231918e Mon Sep 17 00:00:00 2001 From: Vojtech Horky Date: Tue, 11 Jun 2013 16:12:45 +0200 Subject: [PATCH] Add -Werror for kernel with Clang --- kernel/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/Makefile b/kernel/Makefile index 33832d01f..bf0fb5276 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -104,7 +104,7 @@ ICC_CFLAGS = $(INCLUDES_FLAGS) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \ # -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) -finput-charset=UTF-8 CLANG_CFLAGS = $(INCLUDES_FLAGS) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \ -ffreestanding -fno-builtin -nostdlib -nostdinc \ - -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \ + -Wall -Werror -Wextra -Wno-unused-parameter -Wmissing-prototypes \ -Werror-implicit-function-declaration -Wwrite-strings \ -integrated-as \ -pipe -target $(CLANG_TARGET) -- 2.11.4.GIT