pjproject: disable building pjsua when a sanitizer is used

Disable building the pjsua test application when any of the
SANITIZER flags are set.

Fixes: #2056
releases/22
Mike Bradeen 2 months ago committed by Asterisk Development Team
parent f6205165f5
commit 87d75f039a

@ -60,8 +60,10 @@ ifeq ($(SPECIAL_TARGETS),)
CF := $(filter-out -I%,$(CF))
ifeq ($(PJPROJECT_BUNDLED_OOT),)
ifeq ($(AST_DEVMODE),yes)
ifeq ($(findstring _SANITIZER,$(MENUSELECT_CFLAGS)),)
apps := source/pjsip-apps/bin/pjsua-$(TARGET_NAME)
TARGETS += $(apps)
endif
CF += -DPJPROJECT_BUNDLED_ASSERTIONS=yes
endif
endif

Loading…
Cancel
Save