summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-06-08 00:28:25 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-06-12 23:34:24 +0100
commitfddc539217b03106895578342f2e799d3a9bb79d (patch)
treed34ab835d2224998778f7a3aabebb099e6327597 /meta/recipes-devtools/gcc
parentbc13d78e3d2ad1b906cd4f0e4c6388baf2c6f552 (diff)
downloadpoky-fddc539217b03106895578342f2e799d3a9bb79d.tar.gz
gcc-runtime_8.1.bb: disable ifuncs in libatomic for arm arch
This will solve the mcpu/march conflicts we get when -mcpu=cortex-a7 is passed on cmdline since it will become incompatible with default ifuncs in libatomic which is using armv7-a (From OE-Core rev: 015b0d8ed6aa766e8cc96d10218ac86a28728bf9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime_8.1.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-runtime_8.1.bb b/meta/recipes-devtools/gcc/gcc-runtime_8.1.bb
index 8f31e7792e..fe787174e8 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime_8.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-runtime_8.1.bb
@@ -1,6 +1,9 @@
1require recipes-devtools/gcc/gcc-${PV}.inc 1require recipes-devtools/gcc/gcc-${PV}.inc
2require gcc-runtime.inc 2require gcc-runtime.inc
3 3
4# Disable ifuncs for libatomic on arm conflicts -march/-mcpu
5EXTRA_OECONF_append_arm = " libat_cv_have_ifunc=no "
6
4FILES_libgomp-dev += "\ 7FILES_libgomp-dev += "\
5 ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/openacc.h \ 8 ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/openacc.h \
6" 9"