Skip to content
Snippets Groups Projects
Commit 3808007c authored by Tobias Burnus's avatar Tobias Burnus Committed by Tobias Burnus
Browse files

re PR libgomp/47758 (729 unexpected failures in the libgomp test suite on powerpc-apple-darwin8)

2011-02-16  Tobias Burnus  <burnus@net-b.de>

        PR libgomp/47758
        * testsuite/libgomp.fortran/fortran.exp: Check for the existence
        of libquadmath.a before adding its libpath to ldflags.

From-SVN: r170216
parent c71f01a9
No related branches found
No related tags found
No related merge requests found
2011-02-16 Tobias Burnus <burnus@net-b.de>
PR libgomp/47758
* testsuite/libgomp.fortran/fortran.exp: Check for the existence
of libquadmath.a before adding its libpath to ldflags.
2011-02-14 Jakub Jelinek <jakub@redhat.com> 2011-02-14 Jakub Jelinek <jakub@redhat.com>
PR libgomp/47731 PR libgomp/47731
......
...@@ -37,10 +37,7 @@ if { $lang_test_file_found } { ...@@ -37,10 +37,7 @@ if { $lang_test_file_found } {
# Gather a list of all tests. # Gather a list of all tests.
set tests [lsort [find $srcdir/$subdir *.\[fF\]{,90,95,03,08}]] set tests [lsort [find $srcdir/$subdir *.\[fF\]{,90,95,03,08}]]
if { $blddir != "" } { if { ($blddir != "") && [file exists "${blddir}/${quadmath_library_path}/libquadmath.a"] } {
# We could, perhaps, test for the presence of the quad math lib - but if it
# is required then its absence will cause a fail, and if it is not required
# the additions here should be harmless.
lappend ALWAYS_CFLAGS "ldflags=-L${blddir}/${quadmath_library_path}/" lappend ALWAYS_CFLAGS "ldflags=-L${blddir}/${quadmath_library_path}/"
# Allow for spec subsitution. # Allow for spec subsitution.
lappend ALWAYS_CFLAGS "additional_flags=-B${blddir}/${quadmath_library_path}/" lappend ALWAYS_CFLAGS "additional_flags=-B${blddir}/${quadmath_library_path}/"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment