OSDN Git Service

malloc: enable assert() when malloc debugging
authorBaruch Siach <baruch@tkos.co.il>
Mon, 8 Jul 2013 08:40:17 +0000 (11:40 +0300)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 2 Aug 2013 12:04:17 +0000 (14:04 +0200)
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>
extra/Configs/Config.in

index 374d772..c1ce9bd 100644 (file)
@@ -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