Browse Source

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>
Baruch Siach 11 years ago
parent
commit
f2a8f24fba
1 changed files with 1 additions and 0 deletions
  1. 1 0
      extra/Configs/Config.in

+ 1 - 0
extra/Configs/Config.in

@@ -2393,6 +2393,7 @@ config SUPPORT_LD_DEBUG_EARLY
 config UCLIBC_MALLOC_DEBUGGING
 config UCLIBC_MALLOC_DEBUGGING
 	bool "Build malloc with debugging support"
 	bool "Build malloc with debugging support"
 	depends on MALLOC || MALLOC_STANDARD
 	depends on MALLOC || MALLOC_STANDARD
+	select DOASSERTS
 	help
 	help
 	  Answer Y here to compile extra debugging support code into malloc.
 	  Answer Y here to compile extra debugging support code into malloc.
 	  Malloc debugging output may then be enabled at runtime using the
 	  Malloc debugging output may then be enabled at runtime using the