From 667e6f892412bcd32deb79ebfb8d41e211e9cbed Mon Sep 17 00:00:00 2001 From: Janne Blomqvist Date: Wed, 27 May 2009 23:02:02 +0300 Subject: [PATCH] Don't link to or test existence of libgfortranbegin From-SVN: r147929 --- libgomp/ChangeLog | 7 +++++++ libgomp/testsuite/libgomp.fortran/fortran.exp | 8 ++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index e8a6fbf22f7..65144c31101 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,10 @@ +2009-05-27 Janne Blomqvist + + 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 PR libgomp/40174 diff --git a/libgomp/testsuite/libgomp.fortran/fortran.exp b/libgomp/testsuite/libgomp.fortran/fortran.exp index 0f7ad6e5a91..3d6615ffee7 100644 --- a/libgomp/testsuite/libgomp.fortran/fortran.exp +++ b/libgomp/testsuite/libgomp.fortran/fortran.exp @@ -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