config/debug/dmalloc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Oct 02 22:10:17 2009 +0200 (2009-10-02)
changeset 1552 6ee673ab382e
parent 1534 d4ddf19a1968
child 1603 e0ef539e23d9
permissions -rw-r--r--
libc/eglibc: fix building for seemingly native toolchains

Build eglibc with -O2 as a fix/workaround to building
seemingly-native toolchains (see docs/overview.txt).

See:
- docs/overview.txt
- docs/known-issues.txt
- http://sourceware.org/ml/crossgcc/2009-10/msg00001.html
yann@103
     1
# dmalloc debug facility
yann@103
     2
yann@916
     3
config DEBUG_dmalloc
yann@103
     4
    bool
yann@103
     5
yann@103
     6
choice
yann@103
     7
    bool
yann@103
     8
    prompt "dmalloc version"
yann@1535
     9
# Don't remove next line
yann@1535
    10
# CT_INSERT_VERSION_BELOW
yann@103
    11
yann@1534
    12
config DMALLOC_V_5_5_2
yann@1534
    13
    bool
yann@1534
    14
    prompt "5.5.2"
yann@1534
    15
yann@103
    16
config DMALLOC_V_5_4_3
yann@103
    17
    bool
yann@330
    18
    prompt "5.4.3 (OBSOLETE)"
yann@103
    19
    depends on OBSOLETE
yann@103
    20
yann@103
    21
endchoice
yann@103
    22
yann@103
    23
config DMALLOC_VERSION
yann@103
    24
    string
yann@1535
    25
# Don't remove next line
yann@1535
    26
# CT_INSERT_VERSION_STRING_BELOW
yann@1534
    27
    default "5.5.2" if DMALLOC_V_5_5_2
yann@103
    28
    default "5.4.3" if DMALLOC_V_5_4_3