summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-runtime.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-runtime.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
index d56f82ac8d..00856ad8bc 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
@@ -32,9 +32,8 @@ RUNTIMETARGET = "libssp libstdc++-v3 libgomp libatomic ${RUNTIMELIBITM} \
32 32
33do_configure () { 33do_configure () {
34 export CXX="${CXX} -nostdinc++ -nostdlib++" 34 export CXX="${CXX} -nostdinc++ -nostdlib++"
35 mtarget=`echo ${TARGET_SYS} | sed -e s#-${SDKPKGSUFFIX}##` 35 target=${TARGET_SYS}
36 target=`echo ${TARGET_SYS} | sed -e s#-${SDKPKGSUFFIX}##` 36
37 hardlinkdir ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$mtarget ${B}
38 for d in libgcc ${RUNTIMETARGET}; do 37 for d in libgcc ${RUNTIMETARGET}; do
39 echo "Configuring $d" 38 echo "Configuring $d"
40 rm -rf ${B}/$target/$d/ 39 rm -rf ${B}/$target/$d/
@@ -45,6 +44,8 @@ do_configure () {
45 $relpath/configure ${CONFIGUREOPTS} ${EXTRA_OECONF} 44 $relpath/configure ${CONFIGUREOPTS} ${EXTRA_OECONF}
46 done 45 done
47} 46}
47EXTRACONFFUNCS += "extract_stashed_builddir"
48do_configure[depends] += "${COMPILERDEP}"
48 49
49do_compile () { 50do_compile () {
50 target=`echo ${TARGET_SYS} | sed -e s#-${SDKPKGSUFFIX}##` 51 target=`echo ${TARGET_SYS} | sed -e s#-${SDKPKGSUFFIX}##`