]> code.ossystems Code Review - openembedded-core.git/commit
bitbake.conf: update DEBUG_PREFIX_MAP with -fmacro-prefix-map
authorKai Kang <kai.kang@windriver.com>
Fri, 15 Feb 2019 02:06:35 +0000 (21:06 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 15 Feb 2019 16:05:29 +0000 (16:05 +0000)
commitc62ac539e58b028b7508385c2c9be3561261f2e8
tree2a5c86392f34cb800bc1b98e64c024c989262384
parentad246f5ce0652bd917d85884176baa746e1379ff
bitbake.conf: update DEBUG_PREFIX_MAP with -fmacro-prefix-map

Add option '-fmacro-prefix-map' to DEBUG_PREFIX_MAP. It could resolve
buildpaths qa warnings which caused by macros '__FILE__' and
'__BASE_FILE__'.

Though option '-ffile-prefix-map' could cover '-fdebug-prefix-map' and
'-fdebug-prefix-map' both, it is not supported by 'as' and causes
buildpaths qa warnings of glibc:

| QA Issue: File
|  /work/i586-poky-linux/glibc/2.29-r0/packages-split/glibc-dev/usr/lib/crti.o
|  in package contained reference to tmpdir

So only add '-fmacro-prefix-map' to DEBUG_PREFIX_MAP rather than replace
'-fdebug-prefix-map' with '-ffile-prefix-map'.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/bitbake.conf