Build with -fno-common to match GCC 10 behaviour on older

compiler versions, so that linkage problems are more visible.
This commit is contained in:
Oliver Jowett 2020-06-06 22:02:43 +08:00
parent 0793c64ee8
commit 651d6a4e0d
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ BLADERF ?= yes
CPPFLAGS += -DMODES_DUMP1090_VERSION=\"$(DUMP1090_VERSION)\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\"
DIALECT = -std=c11
CFLAGS += $(DIALECT) -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE
CFLAGS += $(DIALECT) -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -fno-common
LIBS = -lpthread -lm -lrt
ifeq ($(RTLSDR), yes)