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:
parent
0793c64ee8
commit
651d6a4e0d
2
Makefile
2
Makefile
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue