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 \