From: Thomas De Schampheleire Date: Tue, 1 Jun 2021 14:34:16 +0000 (+0200) Subject: package/sofia-sip: correct passing of '--enable-ndebug' X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb12adbb7613a4c05643491453dbc09151b5bf48;p=buildroot.git package/sofia-sip: correct passing of '--enable-ndebug' The preprocessor option NDEBUG, triggered by the configure option '--enable-ndebug', should be read as 'no-debug'. When NDEBUG is set, asserts are _disabled_. The sofia-sip package had inverted logic, and set '--enable-ndebug' when BR2_ENABLE_DEBUG was enabled, while it should be the other way around. Reported-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas De Schampheleire Signed-off-by: Yann E. MORIN --- diff --git a/package/sofia-sip/sofia-sip.mk b/package/sofia-sip/sofia-sip.mk index 5c383400ff..274c72fce8 100644 --- a/package/sofia-sip/sofia-sip.mk +++ b/package/sofia-sip/sofia-sip.mk @@ -30,7 +30,7 @@ SOFIA_SIP_CONF_OPTS += \ --without-openssl endif -ifeq ($(BR2_ENABLE_DEBUG),y) +ifeq ($(BR2_ENABLE_DEBUG),) SOFIA_SIP_CONF_OPTS += --enable-ndebug endif