summaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2009-01-20 00:59:24 +0000
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2009-01-20 00:59:24 +0000
commit94cd11b9d3db714547e8c303df6ca08eb4b2d7eb (patch)
tree0fe05fe529d09ee5c6892cc3701dbd37a3326bca /libgomp
parenta601fe5a3c0a3964178a9a34738c612cda125c9f (diff)
downloadgcc-94cd11b9d3db714547e8c303df6ca08eb4b2d7eb.tar.gz
2009-01-19 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
gcc/ * config/darwin.h: Add static-libgfortran to LINK_SPEC. gcc/testsuite/ * lib/gfortran.exp: Add -B options for targets that use libgfortran.a%s in their specs. libgomp/ * testsuite/lib/libgomp.exp: Add -B option for targets that use libgfortran.a%s in their specs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143507 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp')
-rw-r--r--libgomp/ChangeLog5
-rw-r--r--libgomp/testsuite/lib/libgomp.exp3
2 files changed, 8 insertions, 0 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 9428394f629..d23a23342fe 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,8 @@
+2009-01-19 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
+
+ * testsuite/lib/libgomp.exp: Add -B option for targets that
+ use libgfortran.a%s in their specs.
+
2009-01-07 Jakub Jelinek <jakub@redhat.com>
PR libgomp/38086
diff --git a/libgomp/testsuite/lib/libgomp.exp b/libgomp/testsuite/lib/libgomp.exp
index 4e2600ec5f7..972d4a1fdd3 100644
--- a/libgomp/testsuite/lib/libgomp.exp
+++ b/libgomp/testsuite/lib/libgomp.exp
@@ -171,6 +171,9 @@ proc libgomp_target_compile { source dest type options } {
if { [info exists lang_test_file] } {
if { $blddir != "" } {
+ # Some targets use libgfortran.a%s in their specs, so they need
+ # a -B option for uninstalled testing.
+ lappend options "additional_flags=-B${blddir}/${lang_library_path}"
lappend options "ldflags=-L${blddir}/${lang_library_path}"
}
lappend options "ldflags=${lang_link_flags}"