package/sofia-sip: correct passing of '--enable-ndebug'
authorThomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Tue, 1 Jun 2021 14:34:16 +0000 (16:34 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Tue, 1 Jun 2021 20:40:01 +0000 (22:40 +0200)
commitfb12adbb7613a4c05643491453dbc09151b5bf48
treee3ba28a1c8e6399656ad8b19b930cdaa273354be
parentdf35cd7976aa74489abff8b1bd3f3e05b5fe87be
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) <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>
package/sofia-sip/sofia-sip.mk