summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-connectivity/openssl/openssl_3.3.1.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl_3.3.1.bb b/meta/recipes-connectivity/openssl/openssl_3.3.1.bb
index 0ad84951e6..f8f2254153 100644
--- a/meta/recipes-connectivity/openssl/openssl_3.3.1.bb
+++ b/meta/recipes-connectivity/openssl/openssl_3.3.1.bb
@@ -35,6 +35,8 @@ PACKAGECONFIG[manpages] = ""
35B = "${WORKDIR}/build" 35B = "${WORKDIR}/build"
36do_configure[cleandirs] = "${B}" 36do_configure[cleandirs] = "${B}"
37 37
38EXTRA_OECONF = "${@bb.utils.contains('PTEST_ENABLED', '1', '', 'no-tests', d)}"
39
38#| ./libcrypto.so: undefined reference to `getcontext' 40#| ./libcrypto.so: undefined reference to `getcontext'
39#| ./libcrypto.so: undefined reference to `setcontext' 41#| ./libcrypto.so: undefined reference to `setcontext'
40#| ./libcrypto.so: undefined reference to `makecontext' 42#| ./libcrypto.so: undefined reference to `makecontext'
@@ -43,8 +45,8 @@ EXTRA_OECONF:append:libc-musl:powerpc64 = " no-asm"
43 45
44# adding devrandom prevents openssl from using getrandom() which is not available on older glibc versions 46# adding devrandom prevents openssl from using getrandom() which is not available on older glibc versions
45# (native versions can be built with newer glibc, but then relocated onto a system with older glibc) 47# (native versions can be built with newer glibc, but then relocated onto a system with older glibc)
46EXTRA_OECONF:class-native = "--with-rand-seed=os,devrandom" 48EXTRA_OECONF:append:class-native = " --with-rand-seed=os,devrandom"
47EXTRA_OECONF:class-nativesdk = "--with-rand-seed=os,devrandom" 49EXTRA_OECONF:append:class-nativesdk = " --with-rand-seed=os,devrandom"
48 50
49# Relying on hardcoded built-in paths causes openssl-native to not be relocateable from sstate. 51# Relying on hardcoded built-in paths causes openssl-native to not be relocateable from sstate.
50CFLAGS:append:class-native = " -DOPENSSLDIR=/not/builtin -DENGINESDIR=/not/builtin" 52CFLAGS:append:class-native = " -DOPENSSLDIR=/not/builtin -DENGINESDIR=/not/builtin"