summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime.inc13
-rw-r--r--meta/recipes-devtools/gcc/libgcc-common.inc8
2 files changed, 0 insertions, 21 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
index 35a3077a4a..fa5b048dab 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
@@ -50,19 +50,6 @@ RUNTIMETARGET:libc-newlib = "libstdc++-v3"
50# libiberty 50# libiberty
51# libgfortran needs separate recipe due to libquadmath dependency 51# libgfortran needs separate recipe due to libquadmath dependency
52 52
53# Relative path to be repaced into debug info
54DEBUGSOURCE = "/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}"
55
56DEBUG_PREFIX_MAP = " \
57 -ffile-prefix-map=${WORKDIR}/${MLPREFIX}recipe-sysroot= \
58 -ffile-prefix-map=${WORKDIR}/recipe-sysroot-native= \
59 -ffile-prefix-map=${B}=${DEBUGSOURCE} \
60 -ffile-prefix-map=${S}=${DEBUGSOURCE} \
61 -fdebug-prefix-map=${B}=${DEBUGSOURCE} \
62 -fdebug-prefix-map=${S}=${DEBUGSOURCE} \
63 -ffile-prefix-map=${B}/${HOST_SYS}/libstdc++-v3/include=${includedir}/c++/${BINV} \
64 "
65
66do_configure () { 53do_configure () {
67 export CXX="${CXX} -nostdinc++ -L${WORKDIR}/dummylib" 54 export CXX="${CXX} -nostdinc++ -L${WORKDIR}/dummylib"
68 # libstdc++ isn't built yet so CXX would error not able to find it which breaks stdc++'s configure 55 # libstdc++ isn't built yet so CXX would error not able to find it which breaks stdc++'s configure
diff --git a/meta/recipes-devtools/gcc/libgcc-common.inc b/meta/recipes-devtools/gcc/libgcc-common.inc
index e813926313..d9084af51a 100644
--- a/meta/recipes-devtools/gcc/libgcc-common.inc
+++ b/meta/recipes-devtools/gcc/libgcc-common.inc
@@ -4,14 +4,6 @@ require gcc-configure-common.inc
4 4
5INHIBIT_DEFAULT_DEPS = "1" 5INHIBIT_DEFAULT_DEPS = "1"
6 6
7DEBUGSOURCE = "/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}"
8DEBUG_PREFIX_MAP = " \
9 -fdebug-prefix-map=${WORKDIR}/${MLPREFIX}recipe-sysroot= \
10 -fdebug-prefix-map=${WORKDIR}/recipe-sysroot-native= \
11 -fdebug-prefix-map=${B}=${DEBUGSOURCE} \
12 -fdebug-prefix-map=${S}=${DEBUGSOURCE} \
13 "
14
15do_configure () { 7do_configure () {
16 install -d ${D}${base_libdir} ${D}${libdir} 8 install -d ${D}${base_libdir} ${D}${libdir}
17 mkdir -p ${B}/${BPN} 9 mkdir -p ${B}/${BPN}