Index: kernel/Makefile
===================================================================
--- kernel/Makefile	(revision e08162be96bc4ff41d0a733317b13d516f1e1b6d)
+++ kernel/Makefile	(revision 1c24c7cb24fc96fae0899ef64c61fe364ea323eb)
@@ -128,6 +128,6 @@
 # AFLAGS and LFLAGS must be initialized before the inclusion.
 #
-AFLAGS =
-LFLAGS = -n -T $(LINK) -M
+AFLAGS = --fatal-warnings
+LFLAGS = -n -T $(LINK) -M --fatal-warnings
 
 #
