Commit 49199692 by Mark Mitchell Committed by Mark Mitchell

* lib/g++.exp (g++_include_flags): Tweak.

From-SVN: r34741
parent d51681a7
2000-06-27 Mark Mitchell <mark@codesourcery.com>
* lib/g++.exp (g++_include_flags): Tweak.
2000-06-27 H.J. Lu <hjl@gnu.org>
Loren J. Rittle <ljrittle@acm.org>
......
......@@ -85,18 +85,12 @@ proc g++_include_flags { args } {
set sdir_v2 [lookfor_file ${srcdir} libstdc++]
if { ${odir_v2} != "" } {
append flags "-I${sdir_v2} -I${sdir_v2}/stl "
}
} else {
set odir_v3 [lookfor_file ${gccpath} libstdc++-v3]
set sdir_v3 [lookfor_file ${srcdir} libstdc++-v3]
if { ${odir_v3} != "" } {
append flags [exec ${odir_v3}/mkcheck 2 ${odir_v3} ${sdir_v3}]
}
if { ${odir_v2} != "" && ${odir_v3} != ""} {
send_error "ERROR: can't handle both libstdc++ and libstdc++-v3 appearing in build tree.\n"
exit 1
}
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