[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 0ed7dcb..9b74678 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