[build] Treat warnings as errors in assembly files
authorMichael Brown <mcb30@etherboot.org>
Sun, 15 Feb 2009 11:05:00 +0000 (11:05 +0000)
committerMichael Brown <mcb30@etherboot.org>
Sun, 15 Feb 2009 11:05:00 +0000 (11:05 +0000)
Add --fatal-warnings to ASFLAGS; this is the equivalent of -Werror in
CFLAGS (which we have used since July 2007).

src/Makefile.housekeeping

index 757707b..ab6f29c 100644 (file)
@@ -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)