[oe-commits] [openembedded-core] 07/18: bitbake.conf: Enable -fdebug-prefix-map for nativesdk

git at git.openembedded.org git at git.openembedded.org
Fri Jan 11 13:23:02 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit d1f751434493d27030257bae0daed6ac31cb52c7
Author: Robert Yang <liezhi.yang at windriver.com>
AuthorDate: Fri Dec 14 17:50:20 2018 +0800

    bitbake.conf: Enable -fdebug-prefix-map for nativesdk
    
    Files like lib/.debug/libgcc_s.so.1 from nativesdk-libgcc-dbg contains
    buildpath without -fdebug-prefix-map, the root cause is object files (.o)
    contain buildpath, and then ccache can't use them correctly.
    
    Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
 meta/conf/bitbake.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 30bb35c..0bdcd04 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -558,7 +558,7 @@ export CPPFLAGS = "${TARGET_CPPFLAGS}"
 export TARGET_CPPFLAGS = ""
 
 export BUILD_CFLAGS = "${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}"
-BUILDSDK_CFLAGS = "${BUILDSDK_CPPFLAGS} ${BUILD_OPTIMIZATION}"
+BUILDSDK_CFLAGS = "${BUILDSDK_CPPFLAGS} ${BUILD_OPTIMIZATION} ${DEBUG_PREFIX_MAP}"
 export CFLAGS = "${TARGET_CFLAGS}"
 export TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list