Makefile: always build with -fno-common

GCC 10 has it enabled by default and everything now builds OK with it,
so add it to CFLAGS to avoid breaking the build in the future.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
This commit is contained in:
Ondrej Mosnacek 2020-01-23 13:57:16 +01:00 committed by James Carter
parent 4d330d0d31
commit a551b2d35a

View File

@ -16,7 +16,8 @@ else
-Wstrict-prototypes \
-Wundef \
-Wunused \
-Wwrite-strings
-Wwrite-strings \
-fno-common
endif
ifneq ($(DESTDIR),)