summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2001-03-28 01:19:29 +0000
committerAlexandre Oliva <aoliva@redhat.com>2001-03-28 01:19:29 +0000
commitce95910c8ba87871689a31ac47d3d3140d00c457 (patch)
tree580182b98e3317fb4fe521f9e861ce261beef680 /configure.in
parent9f0c2bacdf100217e0a9d9b89146f8c6cdebaf0e (diff)
downloadgdb-ce95910c8ba87871689a31ac47d3d3140d00c457.tar.gz
* configure.in (CXX_FOR_TARGET): Use xgcc for libstdc++-v3.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index e2a7f979410..5357470020a 100644
--- a/configure.in
+++ b/configure.in
@@ -1374,7 +1374,7 @@ esac
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