On Tue, 15 Jan 2019 at 06:46, <kai.k...@windriver.com> wrote:
> Add preprocess option '-fmacro-prefix-map' to TARGET_CPPFLAGS to fix
> buildpaths qa warnings of libcomps and librepo.

This is something we should be doing globally, not in a specific recipe.

We pass -fdebug-prefix-map already in bitbake.conf (remap debug
paths), and macro-prefix-map is the same but for __FILE__.  This is
good, because we've a few patches to remove __FILE__ already and this
means we can drop it.

Digging further reveals that there's also -ffile-prefix-map, which
sets debug-prefix-map and macro-prefix-map at once.  We should just
change bitbake.conf to use that instead of debug-prefix-map.

Ross
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to