commit fcaeaf68dee39989042372b86cc2d4042294e792
parent b7cec79df1e5c3bd55796465238fba5c54e9b867
Author: Baptiste Jonglez <git@bitsofnetworks.org>
Date: Thu, 3 Sep 2015 17:09:58 +0200
bmon: Add required compilation flag
Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git 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/