g++.exp (g++_include_flags): Tweak path to testsuite_flags.

2003-06-17  Benjamin Kosnik  <bkoz@redhat.com>

	* lib/g++.exp (g++_include_flags): Tweak path to testsuite_flags.
	Remove cruft.

From-SVN: r68134
This commit is contained in:
Benjamin Kosnik 2003-06-18 01:56:45 +00:00 committed by Benjamin Kosnik
parent a7956a48e5
commit 7dfa28ba07
2 changed files with 8 additions and 14 deletions

View File

@ -1,3 +1,8 @@
2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
* lib/g++.exp (g++_include_flags): Tweak path to testsuite_flags.
Remove cruft.
2003-06-17 Kazu Hirata <kazu@cs.umass.edu>
* gcc.c-torture/compile/20020604-1.c: Use dg-xfail-if for h8300.

View File

@ -80,22 +80,11 @@ proc g++_include_flags { paths } {
return "${flags}"
}
set dir [lookfor_file ${srcdir} libg++]
if { ${dir} != "" } {
append flags "-I${dir} -I${dir}/src "
}
set gccpath ${paths}
if { ${HAVE_LIBSTDCXX_V3} } {
set odir_v3 [lookfor_file ${gccpath} libstdc++-v3]
if { ${odir_v3} != "" } {
append flags [exec sh ${odir_v3}/testsuite_flags --build-includes]
}
} else {
set odir_v2 [lookfor_file ${gccpath} libstdc++]
set sdir_v2 [lookfor_file ${srcdir} libstdc++]
append flags "-I${sdir_v2} -I${sdir_v2}/stl "
set odir [lookfor_file ${gccpath} libstdc++-v3]
if { ${odir} != "" } {
append flags [exec sh ${odir}/scripts/testsuite_flags --build-includes]
}
return "$flags"