exim: fix compilation with CentOS 7
authorRosen Penev <redacted>
Mon, 4 Jan 2021 00:37:10 +0000 (16:37 -0800)
committerRosen Penev <redacted>
Mon, 11 Jan 2021 22:04:31 +0000 (14:04 -0800)
CentOS 7 has an old GCC that does not default to c11.

Signed-off-by: Rosen Penev <redacted>
mail/exim/Makefile

index e848ff29e252c7fcc377a5e53d75c466840e8913..7e7906ac8461d5dbf29b332e8ea33b165e26584c 100644 (file)
@@ -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)
git clone https://git.99rst.org/PROJECT