Commit 04ab0b3e by Ranjit Mathew Committed by Benjamin Kosnik

testsuite_flags.in: Guard against the possibility of having "xgcc" as a part of a folder name in...


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.

Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>

From-SVN: r66098
parent 09e4ab56
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.
2003-04-25 Benjamin Kosnik <bkoz@redhat.com> 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/10132 PR libstdc++/10132
......
...@@ -38,8 +38,8 @@ RUNTESTFLAGS = ...@@ -38,8 +38,8 @@ RUNTESTFLAGS =
## CXX is actually a "C" compiler. These are real C++ programs. ## CXX is actually a "C" compiler. These are real C++ programs.
## Do the same thing as `testsuite_flags --build-cxx` ## Do the same thing as `testsuite_flags --build-cxx`
CXX_fake = @glibcpp_CXX@ CXX_build = @glibcpp_CXX@
CXX=`echo $(CXX_fake) | sed 's/xgcc/g++/g'` CXX=`echo "$(CXX_build)" | sed 's,gcc/xgcc ,gcc/g++ ,'`
CXXLINK = \ CXXLINK = \
LD_RUN_PATH=${LD_RUN_PATH:+$LD_RUN_PATH:}${glibcpp_builddir}/src/.libs\ LD_RUN_PATH=${LD_RUN_PATH:+$LD_RUN_PATH:}${glibcpp_builddir}/src/.libs\
$(LIBTOOL) --tag=CXX --mode=link $(CXX) \ $(LIBTOOL) --tag=CXX --mode=link $(CXX) \
......
...@@ -160,8 +160,8 @@ RUNTEST = `if [ -f @glibcpp_srcdir@/../dejagnu/runtest ] ; then \ ...@@ -160,8 +160,8 @@ RUNTEST = `if [ -f @glibcpp_srcdir@/../dejagnu/runtest ] ; then \
AM_RUNTESTFLAGS = AM_RUNTESTFLAGS =
RUNTESTFLAGS = RUNTESTFLAGS =
CXX_fake = @glibcpp_CXX@ CXX_build = @glibcpp_CXX@
CXX = `echo $(CXX_fake) | sed 's/xgcc/g++/g'` CXX = `echo "$(CXX_build)" | sed 's,gcc/xgcc ,gcc/g++ ,'`
CXXLINK = \ CXXLINK = \
LD_RUN_PATH=${LD_RUN_PATH:+$LD_RUN_PATH:}${glibcpp_builddir}/src/.libs\ LD_RUN_PATH=${LD_RUN_PATH:+$LD_RUN_PATH:}${glibcpp_builddir}/src/.libs\
$(LIBTOOL) --tag=CXX --mode=link $(CXX) \ $(LIBTOOL) --tag=CXX --mode=link $(CXX) \
......
...@@ -44,8 +44,8 @@ case ${query} in ...@@ -44,8 +44,8 @@ case ${query} in
;; ;;
--build-cxx) --build-cxx)
PCHFLAGS="-include bits/stdc++.h" PCHFLAGS="-include bits/stdc++.h"
CC_build="@glibcpp_CXX@ ${PCHFLAGS}" CXX_build="@glibcpp_CXX@ ${PCHFLAGS}"
CXX=`echo $CC_build | sed 's/xgcc/g++/g'` CXX=`echo "$CXX_build" | sed 's,gcc/xgcc ,gcc/g++ ,'`
echo ${CXX} echo ${CXX}
;; ;;
--cxxflags) --cxxflags)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment