libstdc++.exp (libstdc++_init): Adjust regexp to work with previous versions of Tcl.

* testsuite/lib/libstdc++.exp (libstdc++_init): Adjust regexp to
	work with previous versions of Tcl.

From-SVN: r211077
This commit is contained in:
Jonathan Wakely 2014-05-30 12:11:15 +01:00 committed by Jonathan Wakely
parent 269cf22b9a
commit 29f0952140
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-05-30 Jonathan Wakely <jwakely@redhat.com>
* testsuite/lib/libstdc++.exp (libstdc++_init): Adjust regexp to
work with previous versions of Tcl.
2014-05-29 Jonathan Wakely <jwakely@redhat.com>
* include/tr2/bool_set: Use UTF-8 for accented characters.

View File

@ -283,7 +283,7 @@ proc libstdc++_init { testfile } {
append cxxflags " "
append cxxflags [getenv CXXFLAGS]
if ![regexp "\-O" $cxxflags] {
if ![regexp ".*-O" $cxxflags] {
append cxxflags " -g -O2"
}