regexp to filter out -nostdinc++.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124298
138bc75d-0d04-0410-961f-
82ee72b054a4
+2007-04-30 Hans-Peter Nilsson <hp@axis.com>
+
+ * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Correct
+ regexp to filter out -nostdinc++.
+
2007-04-30 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/30449 (equal)
set cxxlibglossflags [libgloss_link_flags]
set cc_final [concat $cc_final $cxxlibglossflags]
set cc_final [concat $cc_final $includes]
- regsub -all ".nostdinc.." $cc_final "" cc_final
+ regsub -all {\s[-]nostdinc[+][+]} $cc_final "" cc_final
# This is needed for "C" tests, as this type of test may need the
# C++ includes. And if we're not testing in the build directory,