From: Bernd Kuhls Date: Sat, 4 Jan 2020 21:34:59 +0000 (+0100) Subject: package/exim: fix host build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2c692e81a844b30b4d3161dfd9897b3265bb9279;p=buildroot.git package/exim: fix host build Fixes: http://autobuild.buildroot.net/results/5a7/5a765f0e65e20266c7203412a46c684a40b66ea3/ Signed-off-by: Bernd Kuhls Reviewed-by: Luca Ceresoli Tested-by: Luca Ceresoli Signed-off-by: Thomas Petazzoni --- 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