From: Rainer Orth Date: Thu, 5 May 2016 19:54:42 +0000 (+0000) Subject: Enable dg-reqire-sharedlib on Solaris X-Git-Tag: basepoints/gcc-8~7111 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=40436d81692c9ecf3606ef724978bde12a7dece5;p=thirdparty%2Fgcc.git Enable dg-reqire-sharedlib on Solaris * testsuite/lib/libstdc++.exp (libstdc++_init): Enable on *-*-solaris*. From-SVN: r235931 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 6e2d7ce15184..ab6df14d103b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2016-05-05 Rainer Orth + + * testsuite/lib/libstdc++.exp (libstdc++_init): Enable on *-*-solaris*. + 2016-05-05 Jonathan Wakely * testsuite/experimental/filesystem/path/native/string.cc: Add diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index 9a930de166f3..0f7f6d0f29b0 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -184,8 +184,9 @@ proc libstdc++_init { testfile } { set v3-sharedlib 0 set sharedlibdir [lookfor_file $blddir src/.libs/libstdc++.$shlib_ext] if {$sharedlibdir != ""} { - if { ([string match "*-*-linux*" $target_triplet] - || [string match "*-*-gnu*" $target_triplet]) + if { ([string match "*-*-gnu*" $target_triplet] + || [string match "*-*-linux*" $target_triplet] + || [string match "*-*-solaris*" $target_triplet]) && [isnative] } then { set v3-sharedlib 1 verbose -log "shared library support detected"