Patchwork [v3] libstdc++/40974

login
register
mail settings
Submitter Paolo Carlini
Date Sept. 2, 2010, 2:14 p.m.
Message ID <4C7FB14A.9080508@oracle.com>
Download mbox | patch
Permalink /patch/63484/
State New
Headers show

Comments

Paolo Carlini - Sept. 2, 2010, 2:14 p.m.
Hi,

let's see is we are at least making progress. Applied mainline only,
after a sanity check on x86_64-linux.

Paolo.

///////////////////////
2010-09-02  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/40974
	* include/Makefile.am: Add -nostdinc++ to PCHFLAGS.
	* include/Makefile.in: Regenerate.

Patch

Index: include/Makefile.am
===================================================================
--- include/Makefile.am	(revision 163769)
+++ include/Makefile.am	(working copy)
@@ -904,7 +904,7 @@ 
 	${pch1_output_builddir} ${pch2_output_builddir} ${pch3_output_builddir}
 pch_output_anchors = \
 	${pch1_output_anchor} ${pch2_output_anchor} ${pch3_output_anchor}
-PCHFLAGS=-x c++-header $(CXXFLAGS)
+PCHFLAGS=-x c++-header -nostdinc++ $(CXXFLAGS)
 if GLIBCXX_BUILD_PCH
 pch_build = ${pch_output}
 else