From 89b6174691a4071cba641fb518110476ca093fc2 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 3 Jan 2021 16:37:10 -0800 Subject: [PATCH] exim: fix compilation with CentOS 7 CentOS 7 has an old GCC that does not default to c11. Signed-off-by: Rosen Penev --- mail/exim/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/mail/exim/Makefile b/mail/exim/Makefile index e848ff29e2..7e7906ac84 100644 --- a/mail/exim/Makefile +++ b/mail/exim/Makefile @@ -137,6 +137,7 @@ define Package/exim/conffiles /etc/exim/exim.conf endef +HOST_CFLAGS += -std=c99 TARGET_CFLAGS += $(FPIC) -DNO_IP_OPTIONS -D_FILE_OFFSET_BITS=64 MAKE_VARS += build=Linux-$$(ARCH)