diff options
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-runtime.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc index ace706dbf4..d9a4e483cc 100644 --- a/meta/recipes-devtools/gcc/gcc-runtime.inc +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc | |||
@@ -18,6 +18,10 @@ EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu" | |||
18 | EXTRA_OECONF_append = " --cache-file=${B}/config.cache" | 18 | EXTRA_OECONF_append = " --cache-file=${B}/config.cache" |
19 | EXTRA_OECONF_append_libc-newlib = " --with-newlib" | 19 | EXTRA_OECONF_append_libc-newlib = " --with-newlib" |
20 | 20 | ||
21 | # cortex-a55 is ARMv8.2-a based but libatomic explicitly asks for -march=armv8.1-a | ||
22 | # which caused -march conflicts in gcc | ||
23 | TUNE_CCARGS_remove = "-mcpu=cortex-a55+crc -mcpu=cortex-a55 -mcpu=cortex-a55+crc+crypto" | ||
24 | |||
21 | # Disable ifuncs for libatomic on arm conflicts -march/-mcpu | 25 | # Disable ifuncs for libatomic on arm conflicts -march/-mcpu |
22 | EXTRA_OECONF_append_arm = " libat_cv_have_ifunc=no " | 26 | EXTRA_OECONF_append_arm = " libat_cv_have_ifunc=no " |
23 | EXTRA_OECONF_append_armeb = " libat_cv_have_ifunc=no " | 27 | EXTRA_OECONF_append_armeb = " libat_cv_have_ifunc=no " |