asterisk-1.8.x-mod: Makefile: Turn on Asterisk development mode if CONFIG_DEBUG=y

This commit is contained in:
Patrik Stridvall 2016-03-21 13:46:14 +01:00
parent 01e874d94b
commit 30fcbbe797

View file

@ -398,7 +398,10 @@ CONFIGURE_ARGS+= \
EXTRA_CFLAGS+= $(TARGET_CPPFLAGS)
EXTRA_LDFLAGS+= $(TARGET_LDFLAGS)
ifeq ($(CONFIG_DEBUG),y)
CONFIGURE_ARGS+= \
--enable-dev-mode
endif
define Build/Prepare
$(call Build/Prepare/Default)