aboutsummaryrefslogtreecommitdiff
path: root/package/exim
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2020-01-04 22:34:59 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-01-08 09:36:12 +0100
commit2c692e81a844b30b4d3161dfd9897b3265bb9279 (patch)
tree1d76e371d4e0de51118913495be8d0d60d404fc4 /package/exim
parente70fdbbaea2345bdc8da41f26d1712b5a75a2cf0 (diff)
downloadbuildroot-2c692e81a844b30b4d3161dfd9897b3265bb9279.tar.gz
buildroot-2c692e81a844b30b4d3161dfd9897b3265bb9279.tar.bz2
package/exim: fix host build
Fixes: http://autobuild.buildroot.net/results/5a7/5a765f0e65e20266c7203412a46c684a40b66ea3/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net> Tested-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/exim')
-rw-r--r--package/exim/exim.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/exim/exim.mk b/package/exim/exim.mk
index 118ee4a1a4..1f814ef195 100644
--- a/package/exim/exim.mk
+++ b/package/exim/exim.mk
@@ -125,7 +125,7 @@ define EXIM_BUILD_CMDS
$(HOST_MAKE_ENV) $(MAKE1) -C $(@D)/build-br macro_predef \
CC=$(HOSTCC) \
LNCC=$(HOSTCC) \
- CFLAGS="$(HOST_CFLAGS)" \
+ CFLAGS="-std=c99 $(HOST_CFLAGS)" \
LFLAGS="-fPIC $(HOST_LDFLAGS)"
$(TARGET_MAKE_ENV) build=br $(MAKE1) -C $(@D) $(EXIM_STATIC_FLAGS)
endef