diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-05-07 22:59:12 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-05-08 19:56:06 -0700 |
commit | e421f6c71c6e0d556cdbbb214185933e5723ddad (patch) | |
tree | 8eb006eafb721c701e7b2dbd8240e06c97bcbf87 | |
parent | 4e79bf9f1d11739389f0cc7c9e6360dcd156f16c (diff) | |
download | meta-openembedded-e421f6c71c6e0d556cdbbb214185933e5723ddad.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>
-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 | |||
47 | TD = "${S}/tentative-dist" | 47 | TD = "${S}/tentative-dist" |
48 | TDS = "${S}/tentative-dist-staging" | 48 | TDS = "${S}/tentative-dist-staging" |
49 | 49 | ||
50 | # cortex-a55 is ARMv8.2-a based but libatomic explicitly asks for -march=armv8.1-a | ||
51 | # which caused -march conflicts in gcc | ||
52 | TUNE_CCARGS_remove = "-mcpu=cortex-a55+crc -mcpu=cortex-a55 -mcpu=cortex-a55+crc+crypto" | ||
53 | |||
50 | TARGET_CC_ARCH += "${LDFLAGS}" | 54 | TARGET_CC_ARCH += "${LDFLAGS}" |
51 | 55 | ||
52 | do_configure_prepend_libc-musl () { | 56 | do_configure_prepend_libc-musl () { |