From fcaeaf68dee39989042372b86cc2d4042294e792 Mon Sep 17 00:00:00 2001 From: Baptiste Jonglez Date: Thu, 3 Sep 2015 17:09:58 +0200 Subject: [PATCH] bmon: Add required compilation flag Signed-off-by: Baptiste Jonglez --- net/bmon/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/bmon/Makefile b/net/bmon/Makefile index 01f8f2b02..54e7ff34f 100644 --- a/net/bmon/Makefile +++ b/net/bmon/Makefile @@ -40,6 +40,9 @@ CONFIGURE_ARGS += \ CONFIGURE_VARS += \ ac_cv_lib_nl_nl_connect=no \ +# Needed to compile some objects +TARGET_CFLAGS+= -std=gnu99 + define Package/bmon/install $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/bmon $(1)/usr/sbin/