diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-12-11 10:59:44 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-12-21 08:34:25 -0800 |
commit | 33752d15f01d15e0e0a53ee2dc507ebb679184cd (patch) | |
tree | 8fca7936ad5ba337db9d1624fb07db6f06028372 | |
parent | 9b08495e6bcef524789aefb6a7cc80fdfd2ff409 (diff) | |
download | meta-clang-33752d15f01d15e0e0a53ee2dc507ebb679184cd.tar.gz |
openssl: Limit adding latomic to riscv32/riscv64 alone
This is not needed on all architectures.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | recipes-connectivity/openssl/openssl_%.bbappend | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes-connectivity/openssl/openssl_%.bbappend b/recipes-connectivity/openssl/openssl_%.bbappend index 9112ead..6679165 100644 --- a/recipes-connectivity/openssl/openssl_%.bbappend +++ b/recipes-connectivity/openssl/openssl_%.bbappend | |||
@@ -3,6 +3,9 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | |||
3 | LDLIBS:append:toolchain-clang:riscv64 = " -latomic" | 3 | LDLIBS:append:toolchain-clang:riscv64 = " -latomic" |
4 | LDLIBS:append:toolchain-clang:riscv32 = " -latomic" | 4 | LDLIBS:append:toolchain-clang:riscv32 = " -latomic" |
5 | 5 | ||
6 | do_configure:prepend:toolchain-clang () { | 6 | do_configure:prepend:toolchain-clang:riscv64 () { |
7 | export LDLIBS="${LDLIBS}" | ||
8 | } | ||
9 | do_configure:prepend:toolchain-clang:riscv32 () { | ||
7 | export LDLIBS="${LDLIBS}" | 10 | export LDLIBS="${LDLIBS}" |
8 | } | 11 | } |