diff options
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-runtime.inc | 13 |
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 | ||
52 | SLIB = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" | 52 | # Relative path to be repaced into debug info |
53 | SLIB_NEW = "/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}" | 53 | REL_S = "/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}" |
54 | 54 | ||
55 | DEBUG_PREFIX_MAP_class-target = " \ | 55 | DEBUG_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 | ||
64 | do_configure () { | 65 | do_configure () { |