diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-09-09 22:34:01 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-09-12 10:51:30 -0700 |
commit | fd6c11d366983362ba96e58818188a1111e4a5c7 (patch) | |
tree | 10f40047165bd67c3556383a8981f7e4557e8a35 /classes/clang.bbclass | |
parent | 20a8cff8ba0ce02773946cd7ba398fc08969ce1e (diff) | |
download | meta-clang-fd6c11d366983362ba96e58818188a1111e4a5c7.tar.gz |
clang.bbclass: Remove -mno-relax
clang-15 now supports linker relaxations therefore enable it
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'classes/clang.bbclass')
-rw-r--r-- | classes/clang.bbclass | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/classes/clang.bbclass b/classes/clang.bbclass index 7dce1a5..0d1d34b 100644 --- a/classes/clang.bbclass +++ b/classes/clang.bbclass | |||
@@ -47,10 +47,6 @@ TUNE_CCARGS:append:toolchain-clang = "${@bb.utils.contains_any("TUNE_FEATURES", | |||
47 | # Clang does not support octeontx2 processor | 47 | # Clang does not support octeontx2 processor |
48 | TUNE_CCARGS:remove:toolchain-clang = "-mcpu=octeontx2" | 48 | TUNE_CCARGS:remove:toolchain-clang = "-mcpu=octeontx2" |
49 | 49 | ||
50 | # LLD does not yet support relaxation for RISCV e.g. https://reviews.freebsd.org/D25210 | ||
51 | TUNE_CCARGS:append:toolchain-clang:riscv32 = " -mno-relax" | ||
52 | TUNE_CCARGS:append:toolchain-clang:riscv64 = " -mno-relax" | ||
53 | |||
54 | # Reconcile some ppc anamolies | 50 | # Reconcile some ppc anamolies |
55 | TUNE_CCARGS:remove:toolchain-clang:powerpc = "-mhard-float -mno-spe" | 51 | TUNE_CCARGS:remove:toolchain-clang:powerpc = "-mhard-float -mno-spe" |
56 | TUNE_CCARGS:append:toolchain-clang:libc-musl:powerpc64 = " -mlong-double-64" | 52 | TUNE_CCARGS:append:toolchain-clang:libc-musl:powerpc64 = " -mlong-double-64" |