Skip to content

Commit 5277bd3

Browse files
committed
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
2 parents df7f850 + 5539183 commit 5277bd3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config.mak.dev

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ DEVELOPER_CFLAGS += -Wpointer-arith
1515
DEVELOPER_CFLAGS += -Wstrict-prototypes
1616
DEVELOPER_CFLAGS += -Wunused
1717
DEVELOPER_CFLAGS += -Wvla
18+
DEVELOPER_CFLAGS += -fno-common
1819

1920
ifndef COMPILER_FEATURES
2021
COMPILER_FEATURES := $(shell ./detect-compiler $(CC))

0 commit comments

Comments
 (0)