Commit f05ee80c by H.J. Lu

re PR libgomp/25852 (libgomp testing does not work for multilib (-m32 on x86_64-linux-gnu))

2006-02-03  H.J. Lu  <hongjiu.lu@intel.com>

	PR libgomp/25852
	* testsuite/lib/libgomp-dg.exp (blddir): Set it in
	libgomp_init.

From-SVN: r110552
parent 7778c06a
2006-02-03 H.J. Lu <hongjiu.lu@intel.com>
PR libgomp/25852
* testsuite/lib/libgomp-dg.exp (blddir): Set it in
libgomp_init.
2005-01-25 Paolo Bonzini <bonzini@gnu.org> 2005-01-25 Paolo Bonzini <bonzini@gnu.org>
PR libgomp/25884 PR libgomp/25884
......
...@@ -40,7 +40,6 @@ if [info exists TOOL_OPTIONS] { ...@@ -40,7 +40,6 @@ if [info exists TOOL_OPTIONS] {
} else { } else {
set multilibs [get_multilibs] set multilibs [get_multilibs]
} }
set blddir [lookfor_file $multilibs libgomp]
proc libgomp_init { args } { proc libgomp_init { args } {
global srcdir blddir objdir tool_root_dir global srcdir blddir objdir tool_root_dir
...@@ -58,6 +57,8 @@ proc libgomp_init { args } { ...@@ -58,6 +57,8 @@ proc libgomp_init { args } {
global lang_library_path global lang_library_path
global lang_link_flags global lang_link_flags
set blddir [lookfor_file [get_multilibs] libgomp]
# We set LC_ALL and LANG to C so that we get the same error # We set LC_ALL and LANG to C so that we get the same error
# messages as expected. # messages as expected.
setenv LC_ALL C setenv LC_ALL C
......
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