[poky] --with-gxx-include-dir and sysroot

Richard Purdie richard.purdie at linuxfoundation.org
Fri Dec 31 17:12:53 PST 2010


On Fri, 2010-12-31 at 02:01 -0800, Khem Raj wrote:
> > I really don't think its this simple.
> >
> > Looking at the gcc code, I propose we patch cppdefault.c so instead of
> >
> > GPLUSPLUS_INCLUDE_DIR "G++", 1, 1, 0, 0
> >
> > is says
> >
> > GPLUSPLUS_INCLUDE_DIR "G++", 1, 1, 1, 0
> 
> This looks ok fix if you take care of doing it only for case
> when sysroot is set and its cross compiling.Although I wonder
> if this will also alter the install location of the headers

In Poky the sysroot option is always set since the sstate packages
including the -cross ones can relocate. It shouldn't matter that we set
this even in the native case since there isn't a sysroot set there.

I wonder how receptive upstream would be to fixing this there...

Cheers,

Richard




More information about the poky mailing list