kumquat-buildroot/package/snmppp/snmppp.mk
Fabrice Fontaine b435912e54 package/snmppp: fix SNMPv3 with gcc <= 5
Fixes:
 - http://autobuild.buildroot.org/results/bfe3faefc007f2e746c9f0af9b7d0926bb72dc9e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-07-27 08:43:26 +02:00

25 lines
749 B
Makefile

################################################################################
#
# snmppp
#
################################################################################
SNMPPP_VERSION = 3.4.1
SNMPPP_SOURCE = snmp++-$(SNMPPP_VERSION).tar.gz
SNMPPP_SITE = http://www.agentpp.com/download
SNMPPP_DEPENDENCIES = host-pkgconf
SNMPPP_INSTALL_STAGING = YES
SNMPPP_CONF_OPTS = $(if $(BR2_PACKAGE_SNMPPP_LOGGING),--enable-logging,--disable-logging)
SNMPPP_LICENSE = SNMP++
SNMPPP_LICENSE_FILES = src/v3.cpp
ifeq ($(BR2_PACKAGE_SNMPPP_SNMPV3),y)
SNMPPP_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11"
SNMPPP_CONF_OPTS += --enable-snmpv3
SNMPPP_DEPENDENCIES += openssl
else
SNMPPP_CONF_OPTS += --disable-snmpv3
endif
$(eval $(autotools-package))