From: Florian Fainelli Date: Mon, 11 Mar 2013 14:16:52 +0000 (+0000) Subject: net-snmp: don't hardcode endianness X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=a800c5adadc3c387c62d1cf16ccdbfa0cdd94de3;p=openwrt%2Fsvn-archive%2Farchive.git 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 SVN-Revision: 35956 --- diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile index f19d68b290..551180abc2 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 \