From: Rosen Penev Date: Mon, 4 Jan 2021 00:37:10 +0000 (-0800) Subject: exim: fix compilation with CentOS 7 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=89b6174691a4071cba641fb518110476ca093fc2;p=openwrt-packages.git exim: fix compilation with CentOS 7 CentOS 7 has an old GCC that does not default to c11. Signed-off-by: Rosen Penev --- diff --git a/mail/exim/Makefile b/mail/exim/Makefile index e848ff29e..7e7906ac8 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)