From 651d6a4e0d33bf546d891bbb1fc4955876c779bc Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Sat, 6 Jun 2020 22:02:43 +0800 Subject: [PATCH] Build with -fno-common to match GCC 10 behaviour on older compiler versions, so that linkage problems are more visible. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6343ffb..25d75bd 100644 --- a/Makefile +++ b/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)