config/tools/libelf.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 1562 fdf936326ccd
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
     1 # libelf config file
     2 
     3 config TOOL_libelf
     4     help
     5       libelf lets you read, modify or create ELF files in an
     6       architecture-independent way.
     7 
     8 choice
     9     bool
    10     prompt "libelf version"
    11 # Don't remove next line
    12 # CT_INSERT_VERSION_BELOW
    13 
    14 config LIBELF_V_0_8_11
    15     bool
    16     prompt "0.8.11"
    17 
    18 config LIBELF_V_0_8_10
    19     bool
    20     prompt "0.8.10"
    21 
    22 endchoice
    23 
    24 config LIBELF_VERSION
    25     string
    26 # Don't remove next line
    27 # CT_INSERT_VERSION_STRING_BELOW
    28     default "0.8.11" if LIBELF_V_0_8_11
    29     default "0.8.10" if LIBELF_V_0_8_10