diff options
author | janis <janis@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-12-22 22:11:27 +0000 |
---|---|---|
committer | janis <janis@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-12-22 22:11:27 +0000 |
commit | 145d8b5fe5ef4be95a1b4f4bbeb96f24858d4515 (patch) | |
tree | 276226950720312d163d3a137b5a15f95c8c7bd7 /gcc | |
parent | 29da95a14b0f4420e19b520feee1d4320313421c (diff) | |
download | gcc-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 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/lib/g++.exp | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8d859a4e9c1..9cf74ee59c2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2009-12-22 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> + + PR target/41605 + * lib/g++.exp: Provide -B options to allow for link spec %s + substitutions for static libraries. + 2009-12-22 Brian Hackett <bhackett1024@gmail.com> * g++.dg/plugin/attribute_plugin.c: Rename pre-genericize event. diff --git a/gcc/testsuite/lib/g++.exp b/gcc/testsuite/lib/g++.exp index df6030b568c..9de817b47f4 100644 --- a/gcc/testsuite/lib/g++.exp +++ b/gcc/testsuite/lib/g++.exp @@ -125,6 +125,9 @@ proc g++_link_flags { paths } { } if [file exists "${gccpath}/libstdc++-v3/src/.libs/libstdc++.a"] { append flags " -L${gccpath}/libstdc++-v3/src/.libs " + # Some targets use libstdc++.a%s in their specs, so they need a + # -B option for uninstalled testing. + append flags " -B${gccpath}/libstdc++-v3/src/.libs " append ld_library_path ":${gccpath}/libstdc++-v3/src/.libs" } # Look for libstdc++.${shlib_ext}. |