summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-10-24 20:03:53 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-10-24 20:03:53 (GMT)
commit5ddca154bb0db0badebf0e96d8c1c511144e8274 (patch)
treed24638265cc98a3055c76ef84182e0312ca4622f
parente73dd44d04a99a3bbc5181685913acf274fd646a (diff)
parent8b275095e0514b7698d3ed92a5a4ea28e0b5754c (diff)
Merge.
-rw-r--r--scripts/build/cc/gcc.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh
index 6474c9c..d3c5d74 100644
--- a/scripts/build/cc/gcc.sh
+++ b/scripts/build/cc/gcc.sh
@@ -332,15 +332,6 @@ do_cc() {
CT_Test "Building ${CT_CC_LANG_OTHERS//,/ } language(s) is not yet supported. Will try..." -n "${CT_CC_LANG_OTHERS}"
lang_opt=$(echo "${lang_opt},${CT_CC_LANG_OTHERS}" |sed -r -e 's/,+/,/g; s/,*$//;')
- # In case we build the C++ compiler, we have to tell gcc where to put the
- # C++ headers, or else it will try to put it in prefix/tuple/include,
- # which we make a symlink to sysroot/usr/include during the build, and
- # that we delete (the symlink!) after the build, but gcc will not look
- # in sysroot/usr/inlcude for C++ headers by default
- if [ "${CT_CC_LANG_CXX}" = "y" ]; then
- extra_config+=("--with-gxx-include-dir=${CT_SYSROOT_DIR}/usr/include")
- fi
-
extra_config+=("--enable-languages=${lang_opt}")
extra_config+=("--disable-multilib")
for tmp in ARCH ABI CPU TUNE FPU FLOAT; do