This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/47368] CFLAGS_FOR_TARGET, profiledbootstrap and lto-bootstrap flags unused in libstdc++-v3
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 20 Jan 2011 10:43:53 +0000
- Subject: [Bug libstdc++/47368] CFLAGS_FOR_TARGET, profiledbootstrap and lto-bootstrap flags unused in libstdc++-v3
- Auto-submitted: auto-generated
- References: <bug-47368-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47368
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-01-20 10:43:20 UTC ---
(In reply to comment #1)
> Supposedly because libstdc++-v3 is written in C++ and therefore uses
> CXXFLAGS_FOR_TARGET etc. instead?
Yes, the libstdc++ sources are compiled with CXXCOMPILE which includes CXXFLAGS
but not CFLAGS. Using CXXFLAGS_FOR_TARGET works.
So, not a bug?