Don't link to or test existence of libgfortranbegin
From-SVN: r147929
This commit is contained in:
parent
cea32bca72
commit
667e6f8924
@ -1,3 +1,10 @@
|
||||
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
|
||||
|
@ -1,5 +1,5 @@
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user