[packages] mini-snmpd: fix a segfault when passing an invalid oid to the -V option...
[openwrt/svn-archive/archive.git] / net / mini_snmpd / Makefile
index 0ed7dcb20fa19e078300e72c7f769ae66198542e..9b746782c86bf57e0c57f77fa59e8f75e32168c6 100644 (file)
@@ -31,7 +31,7 @@ endef
 define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \
                CC="$(TARGET_CC)" \
-               OFLAGS="$(TARGET_CFLAGS)" \
+               OFLAGS="$(TARGET_CFLAGS) -DSYSLOG" \
                STRIP="/bin/true" \
                INSTALL_ROOT="$(PKG_INSTALL_DIR)" \
                mini_snmpd install