aboutsummaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorburnus <>2011-02-16 17:44:45 +0000
committerburnus <>2011-02-16 17:44:45 +0000
commit4cbd71cca15561974293655bace8bf7d70eaa8b7 (patch)
tree40703c070fe8fb0991eedfd55d815e8eb573ac99 /libgomp
parentdea71b0e0c1a83014435589f90c9987d240c9731 (diff)
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.
Diffstat (limited to 'libgomp')
-rw-r--r--libgomp/ChangeLog6
-rw-r--r--libgomp/testsuite/libgomp.fortran/fortran.exp5
2 files changed, 7 insertions, 4 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index e2844762002..87491a1b2db 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,9 @@
+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>
PR libgomp/47731
diff --git a/libgomp/testsuite/libgomp.fortran/fortran.exp b/libgomp/testsuite/libgomp.fortran/fortran.exp
index 5529f191ed9..87db855ba60 100644
--- a/libgomp/testsuite/libgomp.fortran/fortran.exp
+++ b/libgomp/testsuite/libgomp.fortran/fortran.exp
@@ -37,10 +37,7 @@ if { $lang_test_file_found } {
# Gather a list of all tests.
set tests [lsort [find $srcdir/$subdir *.\[fF\]{,90,95,03,08}]]
- if { $blddir != "" } {
- # 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.
+ if { ($blddir != "") && [file exists "${blddir}/${quadmath_library_path}/libquadmath.a"] } {
lappend ALWAYS_CFLAGS "ldflags=-L${blddir}/${quadmath_library_path}/"
# Allow for spec subsitution.
lappend ALWAYS_CFLAGS "additional_flags=-B${blddir}/${quadmath_library_path}/"