From 9dc2588e34eaf27768d9606d3db2f533f0b9410b Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 27 Oct 2024 14:32:29 -0700 Subject: [PATCH] openssl: Drop riscv workarounds to add libatomic Additionally disable relaxation on rv32 with lld see [1] [1] https://github.com/llvm/llvm-project/issues/113838 Signed-off-by: Khem Raj --- recipes-connectivity/openssl/openssl_%.bbappend | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/recipes-connectivity/openssl/openssl_%.bbappend b/recipes-connectivity/openssl/openssl_%.bbappend index 66791653..c0a5991e 100644 --- a/recipes-connectivity/openssl/openssl_%.bbappend +++ b/recipes-connectivity/openssl/openssl_%.bbappend @@ -1,11 +1,3 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" -LDLIBS:append:toolchain-clang:riscv64 = " -latomic" -LDLIBS:append:toolchain-clang:riscv32 = " -latomic" - -do_configure:prepend:toolchain-clang:riscv64 () { - export LDLIBS="${LDLIBS}" -} -do_configure:prepend:toolchain-clang:riscv32 () { - export LDLIBS="${LDLIBS}" -} +LDFLAGS:append:toolchain-clang:riscv32 = " -Wl,--no-relax"