From: Harald Hoyer Date: Thu, 8 Jan 2015 13:53:30 +0000 (+0100) Subject: Makefile: add -Wformat to CFLAGS X-Git-Tag: 041~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dc360790d6cdaaa124b299e8d375e3670863312;p=thirdparty%2Fdracut.git Makefile: add -Wformat to CFLAGS -Werror=format-security seems to be ignored without -Wformat Thanks @ Christoph Brill --- diff --git a/Makefile b/Makefile index 7127368d0..41ae2740d 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ sysconfdir ?= ${prefix}/etc bindir ?= ${prefix}/bin mandir ?= ${prefix}/share/man CFLAGS ?= -O2 -g -Wall -CFLAGS += -std=gnu99 -D_FILE_OFFSET_BITS=64 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 +CFLAGS += -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 bashcompletiondir ?= ${datadir}/bash-completion/completions man1pages = lsinitrd.1