config/companion_libs/mpc.in
author Kalle Kankare <kalle.kankare@vincit.fi>
Fri Dec 03 12:36:44 2010 +0100 (2010-12-03)
changeset 2216 81b4c0efa46f
parent 1783 dabf9572e240
child 2319 ef1c7007dfeb
permissions -rw-r--r--
complibs/libelf: use host compiler

It appears, that the configure scripts of libelf versions 0.8.13 and
0.8.12 do not honour the --host option. The compiler must be given as an
environment variable or the process will use the command "gcc" as the
compiler.

It seems that this is already done in the function do_libelf_target in
scripts/build/companion_libs/libelf.sh, but not in function do_libelf.
yann@1384
     1
# MPC options
yann@1384
     2
yann@1384
     3
choice
yann@1384
     4
    bool
yann@1384
     5
    prompt "MPC version"
yann@1535
     6
# Don't remove next line
yann@1535
     7
# CT_INSERT_VERSION_BELOW
yann@1384
     8
yann@1985
     9
config MPC_V_0_8_2
yann@1985
    10
    bool
yann@1985
    11
    prompt "0.8.2 (EXPERIMENTAL)"
yann@1985
    12
    depends on EXPERIMENTAL
yann@1985
    13
yann@1695
    14
config MPC_V_0_8_1
yann@1695
    15
    bool
yann@1783
    16
    prompt "0.8.1"
yann@1695
    17
yann@1534
    18
config MPC_V_0_7
yann@1534
    19
    bool
yann@1534
    20
    prompt "0.7"
yann@1534
    21
yann@1384
    22
config MPC_V_0_6
yann@1384
    23
    bool
yann@1615
    24
    prompt "0.6 (OBSOLETE)"
yann@1615
    25
    depends on OBSOLETE
yann@1384
    26
yann@1384
    27
endchoice
yann@1384
    28
yann@1384
    29
config MPC_VERSION
yann@1384
    30
    string
yann@1535
    31
# Don't remove next line
yann@1535
    32
# CT_INSERT_VERSION_STRING_BELOW
yann@1985
    33
    default "0.8.2" if MPC_V_0_8_2
yann@1695
    34
    default "0.8.1" if MPC_V_0_8_1
yann@1534
    35
    default "0.7" if MPC_V_0_7
yann@1384
    36
    default "0.6" if MPC_V_0_6