summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2013-07-08 11:40:17 +0300
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-08-02 14:04:17 +0200
commitf2a8f24fbaec0b242d9ef3fa3347efc263f92ee2 (patch)
treecd397c88d07444cd93cb21ff64a866935dc49451
parentcee1028b642c0e6e3ff314dea71c9fb0015c22c1 (diff)
malloc: enable assert() when malloc debugging
UCLIBC_MALLOC_DEBUGGING is useless without assert(). Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r--extra/Configs/Config.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 374d77241..c1ce9bd75 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -2393,6 +2393,7 @@ config SUPPORT_LD_DEBUG_EARLY
config UCLIBC_MALLOC_DEBUGGING
bool "Build malloc with debugging support"
depends on MALLOC || MALLOC_STANDARD
+ select DOASSERTS
help
Answer Y here to compile extra debugging support code into malloc.
Malloc debugging output may then be enabled at runtime using the