Commit 8f1a19e2 by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

libstdc++.exp (v3_target_compile_as_c): Correct regexp to filter out -nostdinc++.

	* testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Correct
	regexp to filter out -nostdinc++.

From-SVN: r124298
parent c4bc65be
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> 2007-04-30 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/30449 (equal) PR libstdc++/30449 (equal)
......
...@@ -391,7 +391,7 @@ proc v3_target_compile_as_c { source dest type options } { ...@@ -391,7 +391,7 @@ proc v3_target_compile_as_c { source dest type options } {
set cxxlibglossflags [libgloss_link_flags] set cxxlibglossflags [libgloss_link_flags]
set cc_final [concat $cc_final $cxxlibglossflags] set cc_final [concat $cc_final $cxxlibglossflags]
set cc_final [concat $cc_final $includes] 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 # 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, # C++ includes. And if we're not testing in the build directory,
......
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