Skip to content

Commit

Permalink
openssl: Link with libatomic for riscv platform
Browse files Browse the repository at this point in the history
Signed-off-by: Khem Raj <raj.khem@gmail.com>
  • Loading branch information
kraj committed Aug 13, 2019
1 parent 67b6f89 commit b4aa3a2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions recipes-connectivity/openssl/openssl_%.bbappend
@@ -0,0 +1,8 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

LDLIBS_append_toolchain-clang_riscv64 = " -latomic"
LDLIBS_append_toolchain-clang_riscv32 = " -latomic"

do_configure_prepend_toolchain-clang () {
export LDLIBS="${LDLIBS}"
}

0 comments on commit b4aa3a2

Please sign in to comment.