summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime.inc13
1 files changed, 7 insertions, 6 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
index 9dcce26536..2aca96c408 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
@@ -49,16 +49,17 @@ RUNTIMETARGET_libc-newlib = "libstdc++-v3"
49# libiberty 49# libiberty
50# libgfortran needs separate recipe due to libquadmath dependency 50# libgfortran needs separate recipe due to libquadmath dependency
51 51
52SLIB = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" 52# Relative path to be repaced into debug info
53SLIB_NEW = "/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}" 53REL_S = "/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}"
54 54
55DEBUG_PREFIX_MAP_class-target = " \ 55DEBUG_PREFIX_MAP_class-target = " \
56 -fdebug-prefix-map=${WORKDIR}/recipe-sysroot= \ 56 -fdebug-prefix-map=${WORKDIR}/recipe-sysroot= \
57 -fdebug-prefix-map=${WORKDIR}/recipe-sysroot-native= \ 57 -fdebug-prefix-map=${WORKDIR}/recipe-sysroot-native= \
58 -fdebug-prefix-map=${SLIB}=${SLIB_NEW} \ 58 -fdebug-prefix-map=${S}=${REL_S} \
59 -fdebug-prefix-map=${SLIB}/include=${SLIB_NEW}/libstdc++-v3/../include \ 59 -fdebug-prefix-map=${S}/include=${REL_S}/libstdc++-v3/../include \
60 -fdebug-prefix-map=${SLIB}/libiberty=${SLIB_NEW}/libstdc++-v3/../libiberty \ 60 -fdebug-prefix-map=${S}/libiberty=${REL_S}/libstdc++-v3/../libiberty \
61 -fdebug-prefix-map=${B}=${SLIB_NEW} \ 61 -fdebug-prefix-map=${S}/libgcc=${REL_S}/libstdc++-v3/../libgcc \
62 -fdebug-prefix-map=${B}=${REL_S} \
62 " 63 "
63 64
64do_configure () { 65do_configure () {