]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jk/no-common'
authorJunio C Hamano <gitster@pobox.com>
Mon, 2 Nov 2020 21:17:41 +0000 (13:17 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 2 Nov 2020 21:17:41 +0000 (13:17 -0800)
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

1  2 
config.mak.dev

diff --cc config.mak.dev
index 89b218d11a5313f327492795964793bec8670160,20168e5691eea53318144fbf3784b469c3e8bf84..89fefacd9447ff76d783b78e9d8db3d70ed5167f
@@@ -15,7 -15,10 +15,8 @@@ DEVELOPER_CFLAGS += -Wpointer-arit
  DEVELOPER_CFLAGS += -Wstrict-prototypes
  DEVELOPER_CFLAGS += -Wunused
  DEVELOPER_CFLAGS += -Wvla
+ DEVELOPER_CFLAGS += -fno-common
  
 -DEVELOPER_CFLAGS += -DENABLE_SHA256
 -
  ifndef COMPILER_FEATURES
  COMPILER_FEATURES := $(shell ./detect-compiler $(CC))
  endif