]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - configure.in
* configure.in (CXX_FOR_TARGET): Use xgcc for libstdc++-v3.
[thirdparty/gcc.git] / configure.in
index 318791c392c1909efb797c2281e75edf10330921..54a9a02ebafe23abf140abd5859f38d7917d3517 100644 (file)
@@ -1456,7 +1456,7 @@ fi
 if test "x${CXX_FOR_TARGET+set}" = xset; then
   :
 elif test -d ${topsrcdir}/gcc; then
-  CXX_FOR_TARGET='$$r/gcc/g++ -B$$r/gcc/ -nostdinc++ '$libstdcxx_flags
+  CXX_FOR_TARGET='$$r/gcc/`case $$dir in libstdc++-v3) echo xgcc ;; *) echo g++ ;; esac` -B$$r/gcc/ -nostdinc++ '$libstdcxx_flags
 elif test "$host" = "$target"; then
   CXX_FOR_TARGET='$(CXX)'
 else