Browse Source

bmon: Add required compilation flag

Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
Baptiste Jonglez 9 years ago
parent
commit
fcaeaf68de
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      net/bmon/Makefile

+ 3
- 0
net/bmon/Makefile View File

40
 CONFIGURE_VARS += \
40
 CONFIGURE_VARS += \
41
 	ac_cv_lib_nl_nl_connect=no \
41
 	ac_cv_lib_nl_nl_connect=no \
42
 
42
 
43
+# Needed to compile some objects
44
+TARGET_CFLAGS+= -std=gnu99
45
+
43
 define Package/bmon/install
46
 define Package/bmon/install
44
 	$(INSTALL_DIR) $(1)/usr/sbin
47
 	$(INSTALL_DIR) $(1)/usr/sbin
45
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/bmon $(1)/usr/sbin/
48
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/bmon $(1)/usr/sbin/