From 27881759f54954fef43b6a7262c1371f8670c884 Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 11 Mar 2013 14:16:52 +0000 Subject: [PATCH] net-snmp: don't hardcode endianness instead of using 'little' hardcoded, rely on the config I recommend to backport this fix to AA, once this bug prevents MD5 authentication in protocol v3. Signed-off-by: Jonh Wendell Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/packages@35956 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/net-snmp/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile index f19d68b29..551180abc 100644 --- a/net/net-snmp/Makefile +++ b/net/net-snmp/Makefile @@ -155,7 +155,7 @@ CONFIGURE_ARGS += \ --enable-mfd-rewrites \ --enable-shared \ --enable-static \ - --with-endianness=little \ + --with-endianness=$(if $(CONFIG_BIG_ENDIAN),big,little) \ --with-logfile=/var/log/snmpd.log \ --with-persistent-directory=/usr/lib/snmp/ \ --with-default-snmp-version=1 \