Merge.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Oct 24 22:03:53 2010 +0200 (2010-10-24)
changeset 21623cec1d170ba4
parent 2159 c27380b72046
parent 2161 3c648212298e
child 2163 96082aa6459f
Merge.
scripts/build/cc/gcc.sh
     1.1 --- a/scripts/build/cc/gcc.sh	Sat Oct 23 23:29:46 2010 +0200
     1.2 +++ b/scripts/build/cc/gcc.sh	Sun Oct 24 22:03:53 2010 +0200
     1.3 @@ -332,15 +332,6 @@
     1.4      CT_Test "Building ${CT_CC_LANG_OTHERS//,/ } language(s) is not yet supported. Will try..." -n "${CT_CC_LANG_OTHERS}"
     1.5      lang_opt=$(echo "${lang_opt},${CT_CC_LANG_OTHERS}" |sed -r -e 's/,+/,/g; s/,*$//;')
     1.6  
     1.7 -    # In case we build the C++ compiler, we have to tell gcc where to put the
     1.8 -    # C++ headers, or else it will try to put it in prefix/tuple/include,
     1.9 -    # which we make a symlink to sysroot/usr/include during the build, and
    1.10 -    # that we delete (the symlink!) after the build, but gcc will not look
    1.11 -    # in sysroot/usr/inlcude for C++ headers by default
    1.12 -    if [ "${CT_CC_LANG_CXX}" = "y"   ]; then
    1.13 -        extra_config+=("--with-gxx-include-dir=${CT_SYSROOT_DIR}/usr/include")
    1.14 -    fi
    1.15 -
    1.16      extra_config+=("--enable-languages=${lang_opt}")
    1.17      extra_config+=("--disable-multilib")
    1.18      for tmp in ARCH ABI CPU TUNE FPU FLOAT; do