* lib/g++.exp: Use sh to exec ${odir_v3}/tests_flags

From-SVN: r38553
This commit is contained in:
David Billinghurst 2000-12-29 22:25:57 +00:00 committed by Jeff Law
parent b57d6be879
commit d05e34f296
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-12-30 David Billinghurst <David.Billinghurst@riotinto.com>
* lib/g++.exp: Use sh to exec ${odir_v3}/tests_flags
2000-12-29 Richard Henderson <rth@redhat.com>
* gcc.dg/20001117-1.c (__cyg_profile_func_enter): Define.

View File

@ -86,7 +86,7 @@ proc g++_include_flags { args } {
if { ${HAVE_LIBSTDCXX_V3} } {
set odir_v3 [lookfor_file ${gccpath} libstdc++-v3]
set sdir_v3 [lookfor_file ${srcdir} libstdc++-v3]
append flags [exec ${odir_v3}/tests_flags --compiler ${odir_v3} ${sdir_v3}]
append flags [exec sh ${odir_v3}/tests_flags --compiler ${odir_v3} ${sdir_v3}]
} else {
set odir_v2 [lookfor_file ${gccpath} libstdc++]
set sdir_v2 [lookfor_file ${srcdir} libstdc++]