Zheng Bao (zheng.bao@amd.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/12366
-gerrit
commit cd1b68bcac82bc9fae57d949edbc79111145a72c Author: Zheng Bao fishbaozi@gmail.com Date: Tue Nov 10 00:26:00 2015 +0800
Kconfig: Remove warning about format string
Clang set -Wformat-security as default, which causes build waring.
coreboot/util/kconfig/conf.c:79:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(_("aborted!\n\n")); ^~~~~~~~~~~~~~~~~
Change-Id: I10740aea21a21db7dafa3afd065a463fac4b2df9 Signed-off-by: Zheng Bao fishbaozi@gmail.com --- util/kconfig/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/kconfig/Makefile b/util/kconfig/Makefile index 243f763..e916495 100644 --- a/util/kconfig/Makefile +++ b/util/kconfig/Makefile @@ -375,7 +375,7 @@ $(objk)/nconf.o: $(srck)/nconf.c $(objk)/nconf.gui.o: $(srck)/nconf.gui.c $(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) -c -o $@ $< $(objk)/conf.o: $(srck)/conf.c - $(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) -c -o $@ $< + $(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) -Wno-format-security -c -o $@ $< $(objk)/regex.o: $(srck)/regex.c $(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) -DHAVE_STRING_H -c -o $@ $<