summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorbillingd <billingd@138bc75d-0d04-0410-961f-82ee72b054a4>2009-05-15 09:23:58 +0000
committerbillingd <billingd@138bc75d-0d04-0410-961f-82ee72b054a4>2009-05-15 09:23:58 +0000
commita0f312e306b5879dd1d36c32e8fc1a46a5b27852 (patch)
tree97b21dbaa6e4c2f67b3043dcfe36e806948c7b8c /libstdc++-v3
parentc350c09cd069a30c50d97789b8a026c2d939546c (diff)
downloadgcc-a0f312e306b5879dd1d36c32e8fc1a46a5b27852.tar.gz
2009-05-15 David Billinghurst <billingd@gcc.gnu.org>
PR libstdc++/36211 * testsuite/lib/libstdc++.exp(v3_target_compile): Add cxxldflags to additional_flags rather than cxx_final. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147565 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/testsuite/lib/libstdc++.exp3
2 files changed, 7 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index f37e28a5efa..b82cc2c256e 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,11 @@
2009-05-15 David Billinghurst <billingd@gcc.gnu.org>
+ PR libstdc++/36211
+ * testsuite/lib/libstdc++.exp(v3_target_compile): Add
+ cxxldflags to additional_flags rather than cxx_final.
+
+2009-05-15 David Billinghurst <billingd@gcc.gnu.org>
+
* testsuite/26_numerics/random/discrete_distribution/cons/num_xbound_fun.cc:
Replace non-standard macro M_PI with constant pi.
* testsuite/26_numerics/random/piecewise_constant_distribution/cons/initlist_fun.cc:
diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp
index 3adf91c7718..45e92d756ec 100644
--- a/libstdc++-v3/testsuite/lib/libstdc++.exp
+++ b/libstdc++-v3/testsuite/lib/libstdc++.exp
@@ -402,8 +402,7 @@ proc v3_target_compile { source dest type options } {
# Flag setting based on type argument.
if { $type == "executable" } {
# Link the support objects into executables.
- set cxx_final [concat $cxx_final $cxxldflags]
- lappend options "additional_flags=./libtestc++.a"
+ lappend options "additional_flags=./libtestc++.a $cxxldflags"
} else {
if { $type == "sharedlib" } {
# Don't link in anything.