Add -fno-common to CFLAGS.

Newer compilers have this enabled by default, instead of -fcommon
so enable it here to catch any problems early.
This commit is contained in:
Joris Vink 2021-01-31 14:54:26 +01:00
parent 0549295f30
commit 26fdbc4030

View File

@ -31,7 +31,7 @@ FEATURES_INC=
CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+=-Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+=-Wsign-compare -Iinclude/kore -I$(OBJDIR) -std=c99 -pedantic
CFLAGS+=-Wtype-limits
CFLAGS+=-Wtype-limits -fno-common
CFLAGS+=-DPREFIX='"$(PREFIX)"' -fstack-protector-all
ifneq ("$(OPENSSL_PATH)", "")