summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2021-01-03 16:37:10 -0800
committerRosen Penev <rosenp@gmail.com>2021-01-11 14:04:31 -0800
commit89b6174691a4071cba641fb518110476ca093fc2 (patch)
tree53676bfd9a29eb3d34e8f6dbad68d5219bc715b5 /mail
parentbd49d481235f15b0c1ede20dfbd15441b27a2caa (diff)
exim: fix compilation with CentOS 7
CentOS 7 has an old GCC that does not default to c11. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'mail')
-rw-r--r--mail/exim/Makefile1
1 files changed, 1 insertions, 0 deletions
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)