[PATCH] Pass CXXFLAGS to binutils/gold

Michael Hope michael.hope@linaro.org
Wed Oct 5 21:31:00 GMT 2011


On Wed, Oct 5, 2011 at 3:14 PM, Mike Frysinger <vapier@gentoo.org> wrote:
> On Tuesday 04 October 2011 21:21:21 Michael Hope wrote:
>> It feels a bit funny passing CFLAGS as CXXFLAGS, but the PPL and GCC
>> target rules already do the same.
>
> especially because there are flags valid for the C compiler which are not valid
> for the C++ compiler ...

Yip.  There's a good amount of deliberate overlap between the gcc,
g++, and gfortran flags.  In crosstool-NG it's currently only used for
-pipe.

-- Michael

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list