diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-06-19 16:16:01 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2020-07-12 19:20:17 -0700 |
commit | 1d5fe0c17d2e7ea98fd14935a28d600a61e3965c (patch) | |
tree | 9426ffb98960f1968857b99ff4ffd36aa4b4343c | |
parent | 5be9567ffbbc767b2b35ba4e284613166d378ccf (diff) | |
download | meta-openembedded-1d5fe0c17d2e7ea98fd14935a28d600a61e3965c.tar.gz |
nss: Remove mcpu to avoid march conflicts
Some files are compiled with armv8-a+crypto and when using cortex-a55
the deduced march is armv8.2-a which then conflicts
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | meta-oe/recipes-support/nss/nss_3.51.1.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/nss/nss_3.51.1.bb b/meta-oe/recipes-support/nss/nss_3.51.1.bb index fba80ce2ab..36e6cd8fc5 100644 --- a/meta-oe/recipes-support/nss/nss_3.51.1.bb +++ b/meta-oe/recipes-support/nss/nss_3.51.1.bb @@ -47,6 +47,10 @@ inherit siteinfo TD = "${S}/tentative-dist" TDS = "${S}/tentative-dist-staging" +# cortex-a55 is ARMv8.2-a based but libatomic explicitly asks for -march=armv8.1-a +# which caused -march conflicts in gcc +TUNE_CCARGS_remove = "-mcpu=cortex-a55+crc -mcpu=cortex-a55 -mcpu=cortex-a55+crc+crypto" + TARGET_CC_ARCH += "${LDFLAGS}" do_configure_prepend_libc-musl () { |