mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-01 17:34:40 +01:00
asterisk-1.8.x-mod: Makefile: Turn off compiler flag LOW_MEMORY if CONFIG_DEBUG=y
This commit is contained in:
parent
30fcbbe797
commit
d709112cec
1 changed files with 6 additions and 1 deletions
|
|
@ -401,6 +401,11 @@ EXTRA_LDFLAGS+= $(TARGET_LDFLAGS)
|
|||
ifeq ($(CONFIG_DEBUG),y)
|
||||
CONFIGURE_ARGS+= \
|
||||
--enable-dev-mode
|
||||
#MENUSELECT_ARGS+= \
|
||||
# --enable LOW_MEMORY
|
||||
else
|
||||
MENUSELECT_ARGS+= \
|
||||
--enable LOW_MEMORY
|
||||
endif
|
||||
|
||||
define Build/Prepare
|
||||
|
|
@ -424,7 +429,7 @@ define Build/Compile
|
|||
include/asterisk/version.h \
|
||||
include/asterisk/buildopts.h defaults.h \
|
||||
makeopts.embed_rules
|
||||
ASTCFLAGS="$(EXTRA_CFLAGS) -DLOW_MEMORY" \
|
||||
ASTCFLAGS="$(EXTRA_CFLAGS)" \
|
||||
ASTLDFLAGS="$(EXTRA_LDFLAGS)" \
|
||||
$(MAKE) -C "$(PKG_BUILD_DIR)" \
|
||||
ASTVARLIBDIR="/usr/lib/asterisk" \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue