diff options
author | Michael Brown | 2009-02-15 12:05:00 +0100 |
---|---|---|
committer | Michael Brown | 2009-02-15 12:05:00 +0100 |
commit | 79867d34eedc08b0cc81e84221bb794f47c94b50 (patch) | |
tree | 6c7383ada9367e1bbfe6a1bc9aa9b9993fd13e49 /src/Makefile.housekeeping | |
parent | [i386] Add explicit flags and type on all .section declarations (diff) | |
download | ipxe-79867d34eedc08b0cc81e84221bb794f47c94b50.tar.gz ipxe-79867d34eedc08b0cc81e84221bb794f47c94b50.tar.xz ipxe-79867d34eedc08b0cc81e84221bb794f47c94b50.zip |
[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).
Diffstat (limited to 'src/Makefile.housekeeping')
-rw-r--r-- | src/Makefile.housekeeping | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping index 757707b0..ab6f29c2 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) |