mirror of
https://github.com/asterisk/asterisk
synced 2026-08-07 10:32:13 -04:00
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
This commit is contained in:
parent
b531f71b12
commit
2720b1025e
1 changed files with 2 additions and 0 deletions
2
third-party/pjproject/Makefile
vendored
2
third-party/pjproject/Makefile
vendored
|
|
@ -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…
Add table
Add a link
Reference in a new issue