diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-26 04:01:47 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-26 04:01:47 +0000 |
commit | b97071d51262d6e2f1f66be59b72015bd32f3a54 (patch) | |
tree | 5bd855a04c92854910193d8f4fa88766bc6048f1 /libstdc++-v3/testsuite | |
parent | e578adbb2ec4d734a676a4942a709e0f5f749ccd (diff) | |
download | gcc-b97071d51262d6e2f1f66be59b72015bd32f3a54.tar.gz |
2003-04-25 Ranjit Mathew <rmathew@hotmail.com>
Phil Edwards <pme@gcc.gnu.org>
* testsuite_flags.in: Guard against the possibility
of having "xgcc" as a part of a folder name in the
path to the GCC build folder.
* testsuite/Makefile.am: Likewise.
* testsuite/Makefile.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66098 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite')
-rw-r--r-- | libstdc++-v3/testsuite/Makefile.am | 4 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/Makefile.in | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libstdc++-v3/testsuite/Makefile.am b/libstdc++-v3/testsuite/Makefile.am index ce598d3b581..daf04ce54e4 100644 --- a/libstdc++-v3/testsuite/Makefile.am +++ b/libstdc++-v3/testsuite/Makefile.am @@ -38,8 +38,8 @@ RUNTESTFLAGS = ## CXX is actually a "C" compiler. These are real C++ programs. ## Do the same thing as `testsuite_flags --build-cxx` -CXX_fake = @glibcpp_CXX@ -CXX=`echo $(CXX_fake) | sed 's/xgcc/g++/g'` +CXX_build = @glibcpp_CXX@ +CXX=`echo "$(CXX_build)" | sed 's,gcc/xgcc ,gcc/g++ ,'` CXXLINK = \ LD_RUN_PATH=${LD_RUN_PATH:+$LD_RUN_PATH:}${glibcpp_builddir}/src/.libs\ $(LIBTOOL) --tag=CXX --mode=link $(CXX) \ diff --git a/libstdc++-v3/testsuite/Makefile.in b/libstdc++-v3/testsuite/Makefile.in index fde593ebf85..0e15995ab17 100644 --- a/libstdc++-v3/testsuite/Makefile.in +++ b/libstdc++-v3/testsuite/Makefile.in @@ -160,8 +160,8 @@ RUNTEST = `if [ -f @glibcpp_srcdir@/../dejagnu/runtest ] ; then \ AM_RUNTESTFLAGS = RUNTESTFLAGS = -CXX_fake = @glibcpp_CXX@ -CXX = `echo $(CXX_fake) | sed 's/xgcc/g++/g'` +CXX_build = @glibcpp_CXX@ +CXX = `echo "$(CXX_build)" | sed 's,gcc/xgcc ,gcc/g++ ,'` CXXLINK = \ LD_RUN_PATH=${LD_RUN_PATH:+$LD_RUN_PATH:}${glibcpp_builddir}/src/.libs\ $(LIBTOOL) --tag=CXX --mode=link $(CXX) \ |