diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-11-02 13:17:41 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-11-02 13:17:41 -0800 |
commit | 5277bd3e26991233199348c62c5bb7ff010f2e34 (patch) | |
tree | 0ee3856b600b40ee3adc4f47ac21d60bebe3b662 /config.mak.dev | |
parent | df7f850a851a0423defe600bafc24bd2d8f57dda (diff) | |
parent | 55391836224af8a65f3802f4a4c87ece0f2c19a4 (diff) | |
download | git-5277bd3e26991233199348c62c5bb7ff010f2e34.tar.gz |
Merge branch 'jk/no-common'
Dev support to catch a tentative definition of a variable in our C
code as an error.
* jk/no-common:
config.mak.dev: build with -fno-common
Diffstat (limited to 'config.mak.dev')
-rw-r--r-- | config.mak.dev | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config.mak.dev b/config.mak.dev index 89b218d11a..89fefacd94 100644 --- a/config.mak.dev +++ b/config.mak.dev @@ -15,6 +15,7 @@ DEVELOPER_CFLAGS += -Wpointer-arith DEVELOPER_CFLAGS += -Wstrict-prototypes DEVELOPER_CFLAGS += -Wunused DEVELOPER_CFLAGS += -Wvla +DEVELOPER_CFLAGS += -fno-common ifndef COMPILER_FEATURES COMPILER_FEATURES := $(shell ./detect-compiler $(CC)) |