From 78a57a6f7613d538eabca4208ffb356df11c9240 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 16 Feb 2009 01:06:40 +0000 Subject: [build] Allow NO_WERROR=1 to inhibit --fatal-warnings as well as -Werror --- src/Makefile.housekeeping | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Makefile.housekeeping') diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping index d8413447..2146d9cb 100644 --- a/src/Makefile.housekeeping +++ b/src/Makefile.housekeeping @@ -283,7 +283,6 @@ CFLAGS += -Os -ffreestanding CFLAGS += -Wall -W -Wformat-nonliteral CFLAGS += -g CFLAGS += $(EXTRA_CFLAGS) -ASFLAGS += --fatal-warnings ASFLAGS += $(EXTRA_ASFLAGS) LDFLAGS += $(EXTRA_LDFLAGS) @@ -295,6 +294,7 @@ EMBEDDED_IMAGE = image/default.gpxe # ifneq ($(NO_WERROR),1) CFLAGS += -Werror +ASFLAGS += --fatal-warnings endif # compiler.h is needed for our linking and debugging system -- cgit v1.2.3-55-g7522