1.1 --- a/scripts/build/cc/gcc.sh Fri Oct 22 22:02:57 2010 +0200
1.2 +++ b/scripts/build/cc/gcc.sh Sat Oct 23 01:21:20 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