diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2018-12-14 17:50:20 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-14 11:35:55 +0000 |
commit | a3fc4196a244abd9b4ac6747f14c2e3a51630e14 (patch) | |
tree | b68852223bf398d2b2c25f1f80991ed3b3dd17bc /meta/conf | |
parent | e96d0200ca3226a3127934ed29c202797d88e4c2 (diff) | |
download | poky-a3fc4196a244abd9b4ac6747f14c2e3a51630e14.tar.gz |
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.
(From OE-Core rev: b0b4d1b32203bb74fc3aec9b9a0d14bf7a52a0af)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/bitbake.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 30bb35c2af..0bdcd04d74 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -558,7 +558,7 @@ export CPPFLAGS = "${TARGET_CPPFLAGS}" | |||
558 | export TARGET_CPPFLAGS = "" | 558 | export TARGET_CPPFLAGS = "" |
559 | 559 | ||
560 | export BUILD_CFLAGS = "${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}" | 560 | export BUILD_CFLAGS = "${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}" |
561 | BUILDSDK_CFLAGS = "${BUILDSDK_CPPFLAGS} ${BUILD_OPTIMIZATION}" | 561 | BUILDSDK_CFLAGS = "${BUILDSDK_CPPFLAGS} ${BUILD_OPTIMIZATION} ${DEBUG_PREFIX_MAP}" |
562 | export CFLAGS = "${TARGET_CFLAGS}" | 562 | export CFLAGS = "${TARGET_CFLAGS}" |
563 | export TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}" | 563 | export TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}" |
564 | 564 | ||