package/exim: fix host build
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 4 Jan 2020 21:34:59 +0000 (22:34 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 8 Jan 2020 08:36:12 +0000 (09:36 +0100)
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>
package/exim/exim.mk

index 118ee4a1a47b761b951eff3c7c42d484c98fc0bb..1f814ef1954ed50c595589b305f8501977408b76 100644 (file)
@@ -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