0993954814
BR2_ENABLE_DEBUG should just steer the availability of debug symbols and should have no negative effect on performance. Introduction of 'assert' statements, 'debug'-type builds with additional logging, etc. should be steered by BR2_ENABLE_RUNTIME_DEBUG instead. The sofia-sip package was setting '--enable-ndebug' conditionally based on BR2_ENABLE_DEBUG, and this would have to be updated to be based on BR2_ENABLE_RUNTIME_DEBUG. However, the sofia-sip option '--enable-ndebug' only sets the 'NDEBUG' preprocessor macro, and the core package infrastructure already sets this macro correctly based on BR2_ENABLE_RUNTIME_DEBUG. This means that the explicit '--enable-ndebug' flag can be removed. Suggested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
34 lines
853 B
Makefile
34 lines
853 B
Makefile
################################################################################
|
|
#
|
|
# sofia-sip
|
|
#
|
|
################################################################################
|
|
|
|
SOFIA_SIP_VERSION = 1.13.3-8071e8accd
|
|
SOFIA_SIP_SITE = https://files.freeswitch.org/downloads/libs
|
|
SOFIA_SIP_INSTALL_STAGING = YES
|
|
SOFIA_SIP_DEPENDENCIES = host-pkgconf
|
|
SOFIA_SIP_LICENSE = LGPL-2.1+
|
|
SOFIA_SIP_LICENSE_FILES = COPYING COPYRIGHTS
|
|
SOFIA_SIP_CONF_OPTS = --with-doxygen=no
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
|
|
SOFIA_SIP_CONF_OPTS += --with-glib
|
|
SOFIA_SIP_DEPENDENCIES += libglib2
|
|
else
|
|
SOFIA_SIP_CONF_OPTS += --without-glib
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
SOFIA_SIP_CONF_OPTS += \
|
|
--enable-nth \
|
|
--with-openssl=pkg-config
|
|
SOFIA_SIP_DEPENDENCIES += openssl
|
|
else
|
|
SOFIA_SIP_CONF_OPTS += \
|
|
--disable-nth \
|
|
--without-openssl
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|