diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-05-20 23:19:48 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-05-27 09:01:16 +0100 |
| commit | 1cc5c462318849a8182a8c31833365f1f6cf0afc (patch) | |
| tree | f9eafba1060632d8cae4844536e850c98a207155 /meta | |
| parent | 78a8cee422a81bb7a867b96e605d15e6a338ad7c (diff) | |
| download | poky-1cc5c462318849a8182a8c31833365f1f6cf0afc.tar.gz | |
openssl: Link with libatomic on x86/clang
Fixes
threads_pthread.c:(.text+0x372): undefined reference to `__atomic_is_lock_free'
(From OE-Core rev: 636e30f2d363bd77ac9cce69eecb14d2db703bb2)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-connectivity/openssl/openssl_3.5.0.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl_3.5.0.bb b/meta/recipes-connectivity/openssl/openssl_3.5.0.bb index fddc4dbc81..0f5c28dafa 100644 --- a/meta/recipes-connectivity/openssl/openssl_3.5.0.bb +++ b/meta/recipes-connectivity/openssl/openssl_3.5.0.bb | |||
| @@ -53,6 +53,9 @@ EXTRA_OECONF:append:class-nativesdk = " --with-rand-seed=os,devrandom" | |||
| 53 | EXTRA_OEMAKE:append:task-compile:class-native = ' OPENSSLDIR="/not/builtin" ENGINESDIR="/not/builtin" MODULESDIR="/not/builtin"' | 53 | EXTRA_OEMAKE:append:task-compile:class-native = ' OPENSSLDIR="/not/builtin" ENGINESDIR="/not/builtin" MODULESDIR="/not/builtin"' |
| 54 | EXTRA_OEMAKE:append:task-compile:class-nativesdk = ' OPENSSLDIR="/not/builtin" ENGINESDIR="/not/builtin" MODULESDIR="/not/builtin"' | 54 | EXTRA_OEMAKE:append:task-compile:class-nativesdk = ' OPENSSLDIR="/not/builtin" ENGINESDIR="/not/builtin" MODULESDIR="/not/builtin"' |
| 55 | 55 | ||
| 56 | #| threads_pthread.c:(.text+0x372): undefined reference to `__atomic_is_lock_free' | ||
| 57 | EXTRA_OECONF:append:toolchain-clang:x86 = " -latomic" | ||
| 58 | |||
| 56 | # This allows disabling deprecated or undesirable crypto algorithms. | 59 | # This allows disabling deprecated or undesirable crypto algorithms. |
| 57 | # The default is to trust upstream choices. | 60 | # The default is to trust upstream choices. |
| 58 | DEPRECATED_CRYPTO_FLAGS ?= "" | 61 | DEPRECATED_CRYPTO_FLAGS ?= "" |
