From: Baptiste Jonglez Date: Thu, 3 Sep 2015 15:09:58 +0000 (+0200) Subject: bmon: Add required compilation flag X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=fcaeaf68dee39989042372b86cc2d4042294e792;p=openwrt-packages.git bmon: Add required compilation flag Signed-off-by: Baptiste Jonglez --- 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/