diff options
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-runtime.inc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc index d3d4bd36a8..7629fa56ff 100644 --- a/meta/recipes-devtools/gcc/gcc-runtime.inc +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc | |||
@@ -34,6 +34,18 @@ RUNTIMETARGET_remove_libc-musl = "libmpx" | |||
34 | # libmudflap | 34 | # libmudflap |
35 | # libgfortran needs separate recipe due to libquadmath dependency | 35 | # libgfortran needs separate recipe due to libquadmath dependency |
36 | 36 | ||
37 | SLIB = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" | ||
38 | SLIB_NEW = "/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}" | ||
39 | |||
40 | DEBUG_PREFIX_MAP_class-target = " \ | ||
41 | -fdebug-prefix-map=${WORKDIR}/recipe-sysroot= \ | ||
42 | -fdebug-prefix-map=${WORKDIR}/recipe-sysroot-native= \ | ||
43 | -fdebug-prefix-map=${SLIB}=${SLIB_NEW} \ | ||
44 | -fdebug-prefix-map=${SLIB}/include=${SLIB_NEW}/libstdc++-v3/../include \ | ||
45 | -fdebug-prefix-map=${SLIB}/libiberty=${SLIB_NEW}/libstdc++-v3/../libiberty \ | ||
46 | -fdebug-prefix-map=${B}=${SLIB_NEW} \ | ||
47 | " | ||
48 | |||
37 | do_configure () { | 49 | do_configure () { |
38 | export CXX="${CXX} -nostdinc++ -nostdlib++" | 50 | export CXX="${CXX} -nostdinc++ -nostdlib++" |
39 | for d in libgcc ${RUNTIMETARGET}; do | 51 | for d in libgcc ${RUNTIMETARGET}; do |