diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-06-08 00:28:25 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-12 23:34:24 +0100 |
commit | fddc539217b03106895578342f2e799d3a9bb79d (patch) | |
tree | d34ab835d2224998778f7a3aabebb099e6327597 | |
parent | bc13d78e3d2ad1b906cd4f0e4c6388baf2c6f552 (diff) | |
download | poky-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>
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-runtime_8.1.bb | 3 |
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 @@ | |||
1 | require recipes-devtools/gcc/gcc-${PV}.inc | 1 | require recipes-devtools/gcc/gcc-${PV}.inc |
2 | require gcc-runtime.inc | 2 | require gcc-runtime.inc |
3 | 3 | ||
4 | # Disable ifuncs for libatomic on arm conflicts -march/-mcpu | ||
5 | EXTRA_OECONF_append_arm = " libat_cv_have_ifunc=no " | ||
6 | |||
4 | FILES_libgomp-dev += "\ | 7 | FILES_libgomp-dev += "\ |
5 | ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/openacc.h \ | 8 | ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/openacc.h \ |
6 | " | 9 | " |