Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-01-19 00:49:55 +0300
committerJunio C Hamano <gitster@pobox.com>2019-01-19 00:49:55 +0300
commit74ae0652c4736629db9c97f7a3ac7cebedaeae10 (patch)
treee573f2880b95ea9e9787fe9824320d351c471313 /config.mak.dev
parent77fbd96aebf794bc9131bd175be500eac2edcd2d (diff)
parent6163f3f1a4288a6a17d2e3cdee4391b25ef09edd (diff)
Merge branch 'jk/dev-build-format-security'
Earlier we added "-Wformat-security" to developer builds, assuming that "-Wall" (which includes "-Wformat" which in turn is required to use "-Wformat-security") is always in effect. This is not true when config.mak.autogen is in use, unfortunately. This has been fixed by unconditionally adding "-Wall" to developer builds. * jk/dev-build-format-security: config.mak.dev: add -Wall, primarily for -Wformat, to help autoconf users
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 bbeeff44fe..7354fe15b3 100644
--- a/config.mak.dev
+++ b/config.mak.dev
@@ -6,6 +6,7 @@ CFLAGS += -pedantic
# don't warn for each N_ use
CFLAGS += -DUSE_PARENS_AROUND_GETTEXT_N=0
endif
+CFLAGS += -Wall
CFLAGS += -Wdeclaration-after-statement
CFLAGS += -Wformat-security
CFLAGS += -Wno-format-zero-length