From fd6c11d366983362ba96e58818188a1111e4a5c7 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 9 Sep 2022 22:34:01 -0700 Subject: clang.bbclass: Remove -mno-relax clang-15 now supports linker relaxations therefore enable it Signed-off-by: Khem Raj --- classes/clang.bbclass | 4 ---- 1 file changed, 4 deletions(-) (limited to 'classes/clang.bbclass') 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", # Clang does not support octeontx2 processor TUNE_CCARGS:remove:toolchain-clang = "-mcpu=octeontx2" -# LLD does not yet support relaxation for RISCV e.g. https://reviews.freebsd.org/D25210 -TUNE_CCARGS:append:toolchain-clang:riscv32 = " -mno-relax" -TUNE_CCARGS:append:toolchain-clang:riscv64 = " -mno-relax" - # Reconcile some ppc anamolies TUNE_CCARGS:remove:toolchain-clang:powerpc = "-mhard-float -mno-spe" TUNE_CCARGS:append:toolchain-clang:libc-musl:powerpc64 = " -mlong-double-64" -- cgit v1.2.3-54-g00ecf