[Buildroot] [PATCH 1/1] package/exim: fix host build
Bernd Kuhls
bernd.kuhls at t-online.de
Sat Jan 4 21:34:59 UTC 2020
Fixes:
http://autobuild.buildroot.net/results/5a7/5a765f0e65e20266c7203412a46c684a40b66ea3/
Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
---
Locally I cannot reproduce the problem, hopefully this patch will fix
the problem.
package/exim/exim.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
2.20.1
More information about the buildroot
mailing list