aboutsummaryrefslogtreecommitdiff
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
commit6a9c38860316e3c58ef66b1db34a22fa356eb4a5 (patch)
treee9adfe0c1969124253f278fa53ea3e16f991c229
parent0e70c820dde52fc7d829eb54a802bc1495d177d0 (diff)
downloadgdb-6a9c38860316e3c58ef66b1db34a22fa356eb4a5.zip
gdb-6a9c38860316e3c58ef66b1db34a22fa356eb4a5.tar.gz
gdb-6a9c38860316e3c58ef66b1db34a22fa356eb4a5.tar.bz2
* configure.in (CXX_FOR_TARGET): Use xgcc for libstdc++-v3.
-rw-r--r--ChangeLog4
-rw-r--r--configure.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c3555a7..20e7124 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-03-27 Alexandre Oliva <aoliva@redhat.com>
+
+ * configure.in (CXX_FOR_TARGET): Use xgcc for libstdc++-v3.
+
2001-03-23 Nick Clifton <nickc@redhat.com>
* README-maintainer-mode: Add note about inability to use "make
diff --git a/configure.in b/configure.in
index e2a7f97..5357470 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