config/companion_libs/libelf.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Mar 06 16:05:20 2010 +0100 (2010-03-06)
changeset 1820 55adc838cd68
parent 1615 50b25816f5bb
child 1873 4477403726db
permissions -rw-r--r--
debug/ltrace: fix building on x86

ltrace uses i386 and x86_64, whereas crosstool-NG use x86 for both cases.
Fix that by detecting what bitness we're building for, and pass appropriate
i386 or x86_64 to ltrace's configure.
     1 # libelf config file
     2 
     3 choice
     4     bool
     5     prompt "libelf version"
     6 # Don't remove next line
     7 # CT_INSERT_VERSION_BELOW
     8 
     9 config LIBELF_V_0_8_12
    10     bool
    11     prompt "0.8.12"
    12 
    13 config LIBELF_V_0_8_11
    14     bool
    15     prompt "0.8.11"
    16 
    17 config LIBELF_V_0_8_10
    18     bool
    19     prompt "0.8.10 (OBSOLETE)"
    20     depends on OBSOLETE
    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.12" if LIBELF_V_0_8_12
    29     default "0.8.11" if LIBELF_V_0_8_11
    30     default "0.8.10" if LIBELF_V_0_8_10