aboutsummaryrefslogtreecommitdiff
path: root/net/bmon/Makefile
diff options
context:
space:
mode:
authorBaptiste Jonglez <git@bitsofnetworks.org>2015-09-03 17:09:58 +0200
committerBaptiste Jonglez <git@bitsofnetworks.org>2015-09-03 17:15:01 +0200
commitfcaeaf68dee39989042372b86cc2d4042294e792 (patch)
tree58c3333a53441302a084912b310341932c66fcab /net/bmon/Makefile
parentb7cec79df1e5c3bd55796465238fba5c54e9b867 (diff)
bmon: Add required compilation flag
Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
Diffstat (limited to 'net/bmon/Makefile')
-rw-r--r--net/bmon/Makefile3
1 files changed, 3 insertions, 0 deletions
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/