Index: kernel/Makefile
===================================================================
--- kernel/Makefile	(revision b992d9d6bd91d19dd9169046d7accb6a1e2efc22)
+++ kernel/Makefile	(revision 0395a7b2514b1bcda01647bc93cc98310c9ea4d8)
@@ -105,5 +105,5 @@
 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 \
