aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile.housekeeping
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2008-10-10 18:41:24 +0100
committerMichael Brown <mcb30@etherboot.org>2008-10-10 18:41:24 +0100
commit2e812235f41c9dc3e11fef42a62f4693c0cf639a (patch)
tree2d90b48749c80c0c00964866a68463b91bf3c8e5 /src/Makefile.housekeeping
parentac663cf5093eb50c565874d6c5974b9495087faf (diff)
downloadipxe-2e812235f41c9dc3e11fef42a62f4693c0cf639a.tar.gz
[makefile] Add -Wformat-nonliteral as an extra warning category
-Wformat-nonliteral is not enabled by -Wall and needs to be explicitly specified. Modified the few files that use nonliteral format strings to work with this new setting in place. Inspired by a patch from Carl Karsten <carl@personnelware.com> and an identical patch from Rorschach <r0rschach@lavabit.com>.
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 ae0bae858..14d07fb0e 100644
--- a/src/Makefile.housekeeping
+++ b/src/Makefile.housekeeping
@@ -265,7 +265,7 @@ ifdef BIN
#
CFLAGS += -I include -I arch/$(ARCH)/include -I .
CFLAGS += -Os -ffreestanding
-CFLAGS += -Wall -W
+CFLAGS += -Wall -W -Wformat-nonliteral
CFLAGS += -g
CFLAGS += $(EXTRA_CFLAGS)
ASFLAGS += $(EXTRA_ASFLAGS)