Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/dev-build-format-security'
author
Junio C Hamano
<gitster@pobox.com>
Mon, 24 Sep 2018 17:30:49 +0000
(10:30 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 24 Sep 2018 17:30:49 +0000
(10:30 -0700)
Build tweak to help developers.
* jk/dev-build-format-security:
config.mak.dev: add -Wformat-security
config.mak.dev
patch
|
blob
|
history
raw
(from parent 1:
4e08e34
)
diff --git
a/config.mak.dev
b/config.mak.dev
index 9a998149d99a8eeebf311d5e84d43f146ed0f90d..92d268137f61e825c1529e5eedca9e39c539dce2 100644
(file)
--- 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