Skip to content

Commit

Permalink
openssl: Limit adding latomic to riscv32/riscv64 alone
Browse files Browse the repository at this point in the history
This is not needed on all architectures.

Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
kraj committed Dec 21, 2023
1 parent 9b08495 commit 33752d1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion recipes-connectivity/openssl/openssl_%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
LDLIBS:append:toolchain-clang:riscv64 = " -latomic"
LDLIBS:append:toolchain-clang:riscv32 = " -latomic"

do_configure:prepend:toolchain-clang () {
do_configure:prepend:toolchain-clang:riscv64 () {
export LDLIBS="${LDLIBS}"
}
do_configure:prepend:toolchain-clang:riscv32 () {
export LDLIBS="${LDLIBS}"
}

0 comments on commit 33752d1

Please sign in to comment.