diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2005-10-13 07:29:39 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2005-10-13 07:29:39 +0000 |
commit | f05c19d12690c180c75cea2f10cdfc853da8060c (patch) | |
tree | 0b98dd0b48ab3068619413e3bed7400e0a53126b | |
parent | abf513b5af5220f0029348e5702849e9a504a9e7 (diff) | |
download | gcc-f05c19d12690c180c75cea2f10cdfc853da8060c.zip gcc-f05c19d12690c180c75cea2f10cdfc853da8060c.tar.gz gcc-f05c19d12690c180c75cea2f10cdfc853da8060c.tar.bz2 |
libstdc++.exp (libstdc++_init): Require native testing before setting v3-sharedlib to 1.
* testsuite/lib/libstdc++.exp (libstdc++_init): Require
native testing before setting v3-sharedlib to 1.
From-SVN: r105361
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/lib/libstdc++.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 8b2755b..efc041e 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2005-10-13 Hans-Peter Nilsson <hp@axis.com> + + * testsuite/lib/libstdc++.exp (libstdc++_init): Require + native testing before setting v3-sharedlib to 1. + 2005-10-12 Joe Buck <Joe.Buck@synopsys.com> * docs/html/27_io/howto.html: Use reference to ifstream when diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index ba7da26..3c5397b 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -133,7 +133,7 @@ proc libstdc++_init { testfile } { set v3-sharedlib 0 set sharedlibdir [lookfor_file $blddir src/.libs/libstdc++.so] if {$sharedlibdir != ""} { - if { [string match "*-*-linux*" $target_triplet] } { + if { [string match "*-*-linux*" $target_triplet] && [isnative] } { set v3-sharedlib 1 verbose -log "shared library support detected" } |