[PATCH] malloc: enable assert() with debug
Baruch Siach
baruch at tkos.co.il
Mon Jul 8 08:40:17 UTC 2013
UCLIBC_MALLOC_DEBUGGING is useless without assert().
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
---
extra/Configs/Config.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 374d772..c1ce9bd 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
--
1.8.3.2
More information about the uClibc
mailing list