On 24 May 2014 17:07, David Edelsohn wrote: > This patch broke the ability to run the libstdc++ testsuite on AIX. > > I now see the following errors: > > bad switch "-O": must be -all, -about, -indices, -inline, -expanded, -line, > -lin > estop, -lineanchor, -nocase, -start, or -- > while executing > "regexp "\-O" $cxxflags"
Would this work instead? regexp ".*-O" $cxxflags