summaryrefslogtreecommitdiffstats
path: root/lib/rbcodec/codecs
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2016-09-21 00:18:43 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2016-12-03 23:07:32 +0100
commitbbf4ff2c91537f7b0b6a96efdc11c5eb905ee409 (patch)
treef0c389ec55b8d8c9b31fa28f10d71aff4309aa4c /lib/rbcodec/codecs
parenta88f57ec36d873d2c896e8c178c4bba2649f8d58 (diff)
downloadrockbox-bbf4ff2c91537f7b0b6a96efdc11c5eb905ee409.tar.gz
rockbox-bbf4ff2c91537f7b0b6a96efdc11c5eb905ee409.tar.bz2
rockbox-bbf4ff2c91537f7b0b6a96efdc11c5eb905ee409.zip
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
Diffstat (limited to 'lib/rbcodec/codecs')
-rw-r--r--lib/rbcodec/codecs/codecs.make1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/rbcodec/codecs/codecs.make b/lib/rbcodec/codecs/codecs.make
index 13ad28fa65..8934272fcf 100644
--- a/lib/rbcodec/codecs/codecs.make
+++ b/lib/rbcodec/codecs/codecs.make
@@ -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)