libffi-dg.exp (libffi-init): Set ld_library_path to "" before adding paths.

libffi/
	* testsuite/lib/libffi-dg.exp (libffi-init): Set ld_library_path
	to "" before adding paths.  (This reinstates an assignment that
	was removed by my 2009-06-30 commit, but changes the initial
	value from "." to "".)

From-SVN: r149149
This commit is contained in:
Richard Sandiford 2009-07-01 19:15:33 +00:00 committed by Richard Sandiford
parent e904d28b2c
commit edd3a61c4a
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2009-07-01 Richard Sandiford <r.sandiford@uk.ibm.com>
* testsuite/lib/libffi-dg.exp (libffi-init): Set ld_library_path
to "" before adding paths. (This reinstates an assignment that
was removed by my 2009-06-30 commit, but changes the initial
value from "." to "".)
2009-07-01 H.J. Lu <hongjiu.lu@intel.com>
PR testsuite/40601

View File

@ -107,6 +107,7 @@ proc libffi-init { args } {
set blddircxx [lookfor_file [get_multilibs] libstdc++-v3]
verbose "libstdc++ $blddircxx"
set ld_library_path ""
set gccdir [lookfor_file $tool_root_dir gcc/libgcc.a]
if {$gccdir != ""} {
set gccdir [file dirname $gccdir]