Index: kernel/Makefile
===================================================================
--- kernel/Makefile	(revision e08162be96bc4ff41d0a733317b13d516f1e1b6d)
+++ kernel/Makefile	(revision a62ceaf039a5a22dc93ec3e4767e997f0730bbbe)
@@ -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
 
 #
