summaryrefslogtreecommitdiffstats
path: root/rules/net-snmp.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/net-snmp.make')
-rw-r--r--rules/net-snmp.make6
1 files changed, 4 insertions, 2 deletions
diff --git a/rules/net-snmp.make b/rules/net-snmp.make
index b1e150c3f..e4716d3a9 100644
--- a/rules/net-snmp.make
+++ b/rules/net-snmp.make
@@ -137,9 +137,11 @@ else
NET_SNMP_AUTOCONF += --disable-local-smux
endif
-ifdef PTXCONF_NET_SNMP_DEBUGGING
+ifdef PTXCONF_NET_SNMP_FORCE_DEBUGGING
NET_SNMP_AUTOCONF += --enable-debugging
-else
+endif
+
+ifdef PTXCONF_NET_SNMP_STRIP_DEBUGGING
NET_SNMP_AUTOCONF += --disable-debugging
endif