mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-05 06:59:33 +08:00
re PR testsuite/40601 (Errors in "make check")
2009-07-01 H.J. Lu <hongjiu.lu@intel.com> PR testsuite/40601 * testsuite/lib/libffi-dg.exp (libffi-init): Properly set gccdir. Adjust ld_library_path for gcc only if gccdir isn't empty. From-SVN: r149145
This commit is contained in:
parent
4aa7f896a9
commit
33d1a550c7
@ -1,3 +1,10 @@
|
||||
2009-07-01 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR testsuite/40601
|
||||
* testsuite/lib/libffi-dg.exp (libffi-init): Properly set
|
||||
gccdir. Adjust ld_library_path for gcc only if gccdir isn't
|
||||
empty.
|
||||
|
||||
2009-06-30 Richard Sandiford <r.sandiford@uk.ibm.com>
|
||||
|
||||
* testsuite/lib/libffi-dg.exp (libffi-init): Don't add "."
|
||||
|
@ -108,7 +108,10 @@ proc libffi-init { args } {
|
||||
verbose "libstdc++ $blddircxx"
|
||||
|
||||
set gccdir [lookfor_file $tool_root_dir gcc/libgcc.a]
|
||||
add_path ld_library_path [find_libgcc_s "$gccdir/xgcc"]
|
||||
if {$gccdir != ""} {
|
||||
set gccdir [file dirname $gccdir]
|
||||
add_path ld_library_path [find_libgcc_s "$gccdir/xgcc"]
|
||||
}
|
||||
# add the library path for libffi.
|
||||
add_path ld_library_path "${blddirffi}/.libs"
|
||||
# add the library path for libstdc++ as well.
|
||||
|
Loading…
Reference in New Issue
Block a user