Fix DEBUG build codecs
In DEBUG build, the codec API struct is consider with DEBUG flag in apps/ but without DEBUG flah in rbcodecs/, leading to unmatched structure and horrible crashes in some cases (mostly encoders). I have no idea why the codecs Makefile removes the DEBUG flag (maybe for performance reasons?) but it cannot be right. Change-Id: Idb2c5f66741408ec2939624590fc39c4cf69fc2b
This commit is contained in:
parent
a88f57ec36
commit
bbf4ff2c91
1 changed files with 0 additions and 1 deletions
|
@ -30,7 +30,6 @@ ifdef APP_TYPE
|
|||
CODECFLAGS += $(SHARED_CFLAGS) # <-- from Makefile
|
||||
else
|
||||
CODECLDFLAGS = -T$(CODECLINK_LDS) -Wl,--gc-sections -Wl,-Map,$(CODECDIR)/$*.map
|
||||
CODECFLAGS += -UDEBUG -DNDEBUG
|
||||
endif
|
||||
CODECLDFLAGS += $(GLOBAL_LDOPTS)
|
||||
|
||||
|
|
Loading…
Reference in a new issue