Kbuild: Don't warn on zero-length format strings

This warning isn't particularly useful and we intentionally do this
in our __assert.h macros.

Change-Id: I783398fd92dffe57e2e18d520db4e752c8c37a98
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2015-08-11 12:46:06 -07:00 committed by Anas Nashif
commit 5bb06311a9

View file

@ -371,6 +371,7 @@ KBUILD_CFLAGS := -c -g -std=c99 \
-fno-omit-frame-pointer \
-fno-defer-pop -Wall \
-Wno-unused-but-set-variable \
-Wno-format-zero-length \
-Wno-main -ffreestanding
KBUILD_AFLAGS_KERNEL :=