summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-runtime.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-04-14 18:10:45 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-14 10:23:21 +0100
commit03bb12008891cf1a023aaddb6547da6d41d0cab0 (patch)
treec778022d8ecf55bacfa0a92ac7245eeb194d2147 /meta/recipes-devtools/gcc/gcc-runtime.inc
parent835b705ee92900f0d73cee612ce790fde4b1e2a4 (diff)
downloadopenembedded-core-contrib-03bb12008891cf1a023aaddb6547da6d41d0cab0.tar.gz
gcc: Add recipes for gcc-7
Switch default compiler to gcc 7 Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-runtime.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime.inc4
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"
do_configure () {
export CXX="${CXX} -nostdinc++ -nostdlib++"
-
for d in libgcc ${RUNTIMETARGET}; do
echo "Configuring $d"
rm -rf ${B}/${TARGET_SYS}/$d/
@@ -43,6 +42,9 @@ do_configure () {
chmod a+x ${S}/$d/configure
relpath=${@os.path.relpath("${S}/$d", "${B}/${TARGET_SYS}/$d")}
$relpath/configure ${CONFIGUREOPTS} ${EXTRA_OECONF}
+ if [ "$d" = "libgcc" ]; then
+ (cd ${B}/${TARGET_SYS}/libgcc; oe_runmake enable-execute-stack.c unwind.h md-unwind-support.h sfp-machine.h gthr-default.h)
+ fi
done
}
EXTRACONFFUNCS += "extract_stashed_builddir"