config/libc/mingw.in
author Michael Hope <michael.hope@linaro.org>
Wed Oct 05 14:15:45 2011 +1300 (2011-10-05)
changeset 2697 9cd87d279a99
parent 2017 f637b6c2162b
child 3112 6cb56b3f2d34
permissions -rw-r--r--
Pass CXXFLAGS to binutils/gold.

The GOLD linker is written in C++. Pass CT_CFLAGS_FOR_HOST as
CXXFLAGS to configure so that any host specific flags are passed
through.

It feels a bit funny passing CFLAGS as CXXFLAGS, but the PPL and GCC
target rules already do the same.

Signed-off-by: Michael Hope <michael.hope@linaro.org>
     1 # mingw options
     2 
     3 ## depends on MINGW32
     4 ##
     5 ## select LIBC_SUPPORT_WIN32THREADS
     6 ##
     7 ## help The de-facto standard for Mingw distributions.
     8 
     9 choice
    10     bool
    11     prompt "Mingw runtime version"
    12 
    13 # Don't remove next line
    14 # CT_INSERT_VERSION_BELOW
    15 config MINGWRT_V_3_18
    16     bool
    17     prompt "3.18"
    18 
    19 config MINGWRT_V_select
    20     bool
    21     prompt "Other version"
    22 
    23 endchoice
    24 
    25 config MINGWRT_VERSION
    26     string
    27     prompt "Mingw runtime version" if MINGWRT_V_select
    28 # Don't remove next line
    29 # CT_INSERT_VERSION_STRING_BELOW
    30     default "3.18" if MINGWRT_V_3_18
    31     help
    32       Enter the version number of the mingw runtime files to use
    33