summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-09-24 10:30:49 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-09-24 10:30:49 -0700
commit2bdbe4a2c376ce2d7e8b056b70ce4f1ce92e2d15 (patch)
tree8d48e3fcfb0ba3dcc733193a88bd6d2bfe495b03
parentMerge branch 'sg/t3701-tighten-trace' (diff)
parentconfig.mak.dev: add -Wformat-security (diff)
downloadtgif-2bdbe4a2c376ce2d7e8b056b70ce4f1ce92e2d15.tar.xz
Merge branch 'jk/dev-build-format-security'
Build tweak to help developers. * jk/dev-build-format-security: config.mak.dev: add -Wformat-security
-rw-r--r--config.mak.dev1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.mak.dev b/config.mak.dev
index 9a998149d9..92d268137f 100644
--- a/config.mak.dev
+++ b/config.mak.dev
@@ -7,6 +7,7 @@ CFLAGS += -pedantic
CFLAGS += -DUSE_PARENS_AROUND_GETTEXT_N=0
endif
CFLAGS += -Wdeclaration-after-statement
+CFLAGS += -Wformat-security
CFLAGS += -Wno-format-zero-length
CFLAGS += -Wold-style-definition
CFLAGS += -Woverflow