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
This commit is contained in:
commit
5277bd3e26
@ -15,6 +15,7 @@ DEVELOPER_CFLAGS += -Wpointer-arith
|
|||||||
DEVELOPER_CFLAGS += -Wstrict-prototypes
|
DEVELOPER_CFLAGS += -Wstrict-prototypes
|
||||||
DEVELOPER_CFLAGS += -Wunused
|
DEVELOPER_CFLAGS += -Wunused
|
||||||
DEVELOPER_CFLAGS += -Wvla
|
DEVELOPER_CFLAGS += -Wvla
|
||||||
|
DEVELOPER_CFLAGS += -fno-common
|
||||||
|
|
||||||
ifndef COMPILER_FEATURES
|
ifndef COMPILER_FEATURES
|
||||||
COMPILER_FEATURES := $(shell ./detect-compiler $(CC))
|
COMPILER_FEATURES := $(shell ./detect-compiler $(CC))
|
||||||
|
Loading…
Reference in New Issue
Block a user