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 | |
| parent | Merge branch 'as/sample-push-to-checkout-hook' (diff) | |
| parent | config.mak.dev: build with -fno-common (diff) | |
| download | git-5277bd3e26991233199348c62c5bb7ff010f2e34.tar.gz git-5277bd3e26991233199348c62c5bb7ff010f2e34.zip | |
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
| -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)) |
