summaryrefslogtreecommitdiff
path: root/config.mak.dev
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-09-24 10:30:49 -0700
committerJunio C Hamano <gitster@pobox.com>2018-09-24 10:30:49 -0700
commit2bdbe4a2c376ce2d7e8b056b70ce4f1ce92e2d15 (patch)
tree8d48e3fcfb0ba3dcc733193a88bd6d2bfe495b03 /config.mak.dev
parent4e08e3498a251bf2264132704545e814ff4a64f4 (diff)
parent801fa63a90e3619c91e0bb3e7a28140e6d31a097 (diff)
downloadgit-2bdbe4a2c376ce2d7e8b056b70ce4f1ce92e2d15.tar.gz
Merge branch 'jk/dev-build-format-security'
Build tweak to help developers. * jk/dev-build-format-security: config.mak.dev: add -Wformat-security
Diffstat (limited to 'config.mak.dev')
-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