Commit 29f09521 by Jonathan Wakely Committed by Jonathan Wakely

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
parent 269cf22b
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"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment