Commit 7dfa28ba by Benjamin Kosnik Committed by Benjamin Kosnik

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
parent a7956a48
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> 2003-06-17 Kazu Hirata <kazu@cs.umass.edu>
* gcc.c-torture/compile/20020604-1.c: Use dg-xfail-if for h8300. * gcc.c-torture/compile/20020604-1.c: Use dg-xfail-if for h8300.
......
...@@ -80,22 +80,11 @@ proc g++_include_flags { paths } { ...@@ -80,22 +80,11 @@ proc g++_include_flags { paths } {
return "${flags}" return "${flags}"
} }
set dir [lookfor_file ${srcdir} libg++]
if { ${dir} != "" } {
append flags "-I${dir} -I${dir}/src "
}
set gccpath ${paths} set gccpath ${paths}
if { ${HAVE_LIBSTDCXX_V3} } { set odir [lookfor_file ${gccpath} libstdc++-v3]
set odir_v3 [lookfor_file ${gccpath} libstdc++-v3] if { ${odir} != "" } {
if { ${odir_v3} != "" } { append flags [exec sh ${odir}/scripts/testsuite_flags --build-includes]
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 "
} }
return "$flags" return "$flags"
......
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