summaryrefslogtreecommitdiffstats
path: root/src/Makefile.housekeeping
diff options
context:
space:
mode:
authorMichael Brown2008-10-10 19:41:24 +0200
committerMichael Brown2008-10-10 19:41:24 +0200
commit2e812235f41c9dc3e11fef42a62f4693c0cf639a (patch)
tree2d90b48749c80c0c00964866a68463b91bf3c8e5 /src/Makefile.housekeeping
parent[efi] Add EFI headers from the EFI Development Kit (edk2) (diff)
downloadipxe-2e812235f41c9dc3e11fef42a62f4693c0cf639a.tar.gz
ipxe-2e812235f41c9dc3e11fef42a62f4693c0cf639a.tar.xz
ipxe-2e812235f41c9dc3e11fef42a62f4693c0cf639a.zip
[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 ae0bae85..14d07fb0 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)