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:
parent
269cf22b9a
commit
29f0952140
2 changed files with 6 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue