packages/net/mini_snmpd/patches/101-opt_flags.patch
acoul 8a83fa3a17 net/mini_snmpd: update to version 1.2b
git-svn-id: svn://svn.openwrt.org/openwrt/packages@23765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-01 15:52:43 +00:00

15 lines
454 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -32,9 +32,9 @@ HEADERS = mini_snmpd.h
SOURCES = mini_snmpd.c protocol.c mib.c globals.c utils.c linux.c freebsd.c
VERSION = 1.2b
VENDOR = .1.3.6.1.4.1
-OFLAGS = -O2 -DDEBUG -g
+OFLAGS = -O2
CFLAGS = -Wall -Werror -DVERSION="\"$(VERSION)\"" -DVENDOR="\"$(VENDOR)\"" \
- $(OFLAGS) -D__TRAPS__ -D__LINUX__ -D__IPV6__
+ $(OFLAGS) -D__TRAPS__ -D__LINUX__
LDFLAGS = $(OFLAGS)
TARGET = mini_snmpd
MAN = mini_snmpd.8