Commit 667e6f89 by Janne Blomqvist

Don't link to or test existence of libgfortranbegin

From-SVN: r147929
parent cea32bca
2009-05-27 Janne Blomqvist <jb@gcc.gnu.org>
PR fortran/39718
* testsuite/libgomp.fortran/fortran.exp: Don't link with
libgfortranbegin, check existence of libgfortran.a instead of
libgfortranbegin.a.
2009-05-20 Jakub Jelinek <jakub@redhat.com>
PR libgomp/40174
......
set lang_library_path "../libgfortran/.libs"
set lang_link_flags "-lgfortranbegin -lgfortran"
set lang_link_flags "-lgfortran"
set lang_test_file_found 0
load_lib libgomp-dg.exp
......@@ -8,11 +8,11 @@ load_lib libgomp-dg.exp
dg-init
if { $blddir != "" } {
if [file exists "${blddir}/${lang_library_path}/libgfortranbegin.a"] {
set lang_test_file "${lang_library_path}/libgfortranbegin.a"
if [file exists "${blddir}/${lang_library_path}/libgfortran.a"] {
set lang_test_file "${lang_library_path}/libgfortran.a"
set lang_test_file_found 1
} else {
puts "No libgfortranbegin library found, will not execute fortran tests"
puts "No libgfortran library found, will not execute fortran tests"
}
} elseif [info exists GFORTRAN_UNDER_TEST] {
set lang_test_file_found 1
......
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