config/debug/dmalloc.in
author Zhenqiang Chen <zhenqiang.chen@linaro.org>
Mon Nov 28 16:05:23 2011 +0800 (2011-11-28)
changeset 2787 85477445af56
parent 1844 4d6a56579d9d
permissions -rw-r--r--
libc/newlib: remove hard-coded "-O"

With hard-coded "-O", users can not customize CFLAGS_FOR_TARGET
by CT_TARGET_CFLAGS. If "-O" is needed, users can input it in
CT_TARGET_CFLAGS. By default, "-Os" is enabled.

Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
     1 # dmalloc debug facility
     2 
     3 ## depends on ! BACKEND
     4 ##
     5 ## help dmalloc helps tracking memory allocation mis-usage
     6 ## help such as double-free, use-after-free...
     7 
     8 choice
     9     bool
    10     prompt "dmalloc version"
    11 # Don't remove next line
    12 # CT_INSERT_VERSION_BELOW
    13 
    14 config DMALLOC_V_5_5_2
    15     bool
    16     prompt "5.5.2"
    17 
    18 endchoice
    19 
    20 config DMALLOC_VERSION
    21     string
    22 # Don't remove next line
    23 # CT_INSERT_VERSION_STRING_BELOW
    24     default "5.5.2" if DMALLOC_V_5_5_2