Ver Fonte

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 há 11 anos atrás
pai
commit
f2a8f24fba
1 ficheiros alterados com 1 adições e 0 exclusões
  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
 	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