[oe] [meta-java] openjre-8 fmacro-prefix-map problem

Richard Leitner richard.leitner at skidata.com
Sun Mar 1 11:14:00 UTC 2020


Hi,

On Wed, Feb 26, 2020 at 01:30:11PM -0500, Lennart Sorensen wrote:
> On Mon, Sep 30, 2019, Vincent Prince wrote:
> > Hello again,
> > 
> > I see that there is a patch that should fix the problem:
> > https://git.yoctoproject.org/cgit/cgit.cgi/meta-java/tree/recipes-core/openjdk/patches-openjdk-8/openjdk8-fix-adlc-flags.patch
> > It is applied but it seems target compilation options are non filtered?
> 
> I just hit this problem too, and found out why it isn't filtering.
> TARGET_CFLAGS isn't actually exported so the build can't use it to filter.
> 
> Adding this to openjre-8_242.bb fixes the problem:
> 
> export TARGET_CFLAGS
> export TARGET_CXXFLAGS
> 
> No more problem with the host gcc/g++ complaining about -fmacro-prefix-map
> being unknown.

Thanks for the pointer. I'll take a look into it!

regards;rl

> 
> I suspect openjdk-8 would need to same fix but I didn't build that yet.
> 
> -- 
> Len Sorensen
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


More information about the Openembedded-devel mailing list