From 79867d34eedc08b0cc81e84221bb794f47c94b50 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sun, 15 Feb 2009 11:05:00 +0000 Subject: [PATCH] [build] Treat warnings as errors in assembly files Add --fatal-warnings to ASFLAGS; this is the equivalent of -Werror in CFLAGS (which we have used since July 2007). --- src/Makefile.housekeeping | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping index 757707b02..ab6f29c23 100644 --- a/src/Makefile.housekeeping +++ b/src/Makefile.housekeeping @@ -276,6 +276,7 @@ CFLAGS += -Os -ffreestanding CFLAGS += -Wall -W -Wformat-nonliteral CFLAGS += -g CFLAGS += $(EXTRA_CFLAGS) +ASFLAGS += --fatal-warnings ASFLAGS += $(EXTRA_ASFLAGS) LDFLAGS += $(EXTRA_LDFLAGS)