summaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2009-12-22 22:11:27 +0000
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2009-12-22 22:11:27 +0000
commit145d8b5fe5ef4be95a1b4f4bbeb96f24858d4515 (patch)
tree276226950720312d163d3a137b5a15f95c8c7bd7 /libgomp
parent29da95a14b0f4420e19b520feee1d4320313421c (diff)
downloadgcc-145d8b5fe5ef4be95a1b4f4bbeb96f24858d4515.tar.gz
2009-12-22 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
gcc/ PR target/41605 * lib/g++.exp: Provide -B options to allow for link spec %s substitutions for static libraries. libstdc++-v3/ PR target/41605 * testsuite/libstdc++-abi/abi.exp: Provide -B options to allow for link spec %s substitutions for static libraries. * testsuite/lib/libstdc++.exp: Ditto libgomp/ PR target/41605 * testsuite/lib/libgomp.exp: Provide -B options to allow for link spec %s substitutions for static libraries. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155408 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp')
-rw-r--r--libgomp/ChangeLog6
-rw-r--r--libgomp/testsuite/lib/libgomp.exp3
2 files changed, 9 insertions, 0 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 5d2822028e7..6644d9d2528 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,9 @@
+2009-12-22 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
+
+ PR target/41605
+ * testsuite/lib/libgomp.exp: Provide -B options to allow for
+ link spec %s substitutions for static libraries.
+
2009-12-18 Jack Howarth <howarth@bromo.med.uc.edu>
PR testsuite/42135
diff --git a/libgomp/testsuite/lib/libgomp.exp b/libgomp/testsuite/lib/libgomp.exp
index 0c8e49f8d85..0b0b608bf9e 100644
--- a/libgomp/testsuite/lib/libgomp.exp
+++ b/libgomp/testsuite/lib/libgomp.exp
@@ -130,6 +130,9 @@ proc libgomp_init { args } {
set ALWAYS_CFLAGS ""
if { $blddir != "" } {
lappend ALWAYS_CFLAGS "additional_flags=-B${blddir}/"
+ # targets that use libgomp.a%s in their specs need a -B option
+ # for uninstalled testing.
+ lappend ALWAYS_CFLAGS "additional_flags=-B${blddir}/.libs"
lappend ALWAYS_CFLAGS "additional_flags=-I${blddir}"
lappend ALWAYS_CFLAGS "ldflags=-L${blddir}/.libs"
}