diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-runtime.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-runtime.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc index 0dc405c591..8430ae0d3c 100644 --- a/meta/recipes-devtools/gcc/gcc-runtime.inc +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc | |||
@@ -34,7 +34,6 @@ RUNTIMETARGET_remove_libc-musl = "libmpx" | |||
34 | 34 | ||
35 | do_configure () { | 35 | do_configure () { |
36 | export CXX="${CXX} -nostdinc++ -nostdlib++" | 36 | export CXX="${CXX} -nostdinc++ -nostdlib++" |
37 | |||
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_SYS}/$d/ | 39 | rm -rf ${B}/${TARGET_SYS}/$d/ |
@@ -43,6 +42,9 @@ do_configure () { | |||
43 | chmod a+x ${S}/$d/configure | 42 | chmod a+x ${S}/$d/configure |
44 | relpath=${@os.path.relpath("${S}/$d", "${B}/${TARGET_SYS}/$d")} | 43 | relpath=${@os.path.relpath("${S}/$d", "${B}/${TARGET_SYS}/$d")} |
45 | $relpath/configure ${CONFIGUREOPTS} ${EXTRA_OECONF} | 44 | $relpath/configure ${CONFIGUREOPTS} ${EXTRA_OECONF} |
45 | if [ "$d" = "libgcc" ]; then | ||
46 | (cd ${B}/${TARGET_SYS}/libgcc; oe_runmake enable-execute-stack.c unwind.h md-unwind-support.h sfp-machine.h gthr-default.h) | ||
47 | fi | ||
46 | done | 48 | done |
47 | } | 49 | } |
48 | EXTRACONFFUNCS += "extract_stashed_builddir" | 50 | EXTRACONFFUNCS += "extract_stashed_builddir" |