aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.housekeeping
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2009-02-16 01:06:40 +0000
committerMichael Brown <mcb30@etherboot.org>2009-02-16 01:06:40 +0000
commit78a57a6f7613d538eabca4208ffb356df11c9240 (patch)
tree5cec3fab338528399c45cff617a64baae0b266c9 /src/Makefile.housekeeping
parent24e948f030405df945e7c0290793586d6152b5ed (diff)
downloadipxe-78a57a6f7613d538eabca4208ffb356df11c9240.zip
ipxe-78a57a6f7613d538eabca4208ffb356df11c9240.tar.gz
ipxe-78a57a6f7613d538eabca4208ffb356df11c9240.tar.bz2
[build] Allow NO_WERROR=1 to inhibit --fatal-warnings as well as -Werror
Diffstat (limited to 'src/Makefile.housekeeping')
-rw-r--r--src/Makefile.housekeeping2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping
index d841344..2146d9c 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