summaryrefslogtreecommitdiffstats
path: root/src/Makefile.housekeeping
diff options
context:
space:
mode:
authorMichael Brown2009-02-16 02:06:40 +0100
committerMichael Brown2009-02-16 02:06:40 +0100
commit78a57a6f7613d538eabca4208ffb356df11c9240 (patch)
tree5cec3fab338528399c45cff617a64baae0b266c9 /src/Makefile.housekeeping
parent[image] Avoid claiming zero-length images as valid (diff)
downloadipxe-78a57a6f7613d538eabca4208ffb356df11c9240.tar.gz
ipxe-78a57a6f7613d538eabca4208ffb356df11c9240.tar.xz
ipxe-78a57a6f7613d538eabca4208ffb356df11c9240.zip
[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 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