Skip to content

Commit

Permalink
openssl: Drop riscv workarounds to add libatomic
Browse files Browse the repository at this point in the history
Additionally disable relaxation on rv32 with lld see [1]

[1] llvm/llvm-project#113838
Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
kraj committed Oct 29, 2024
1 parent e78217a commit 9dc2588
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions recipes-connectivity/openssl/openssl_%.bbappend
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 9dc2588

Please sign in to comment.