diff options
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl_3.3.1.bb | 6 |
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] = "" | |||
35 | B = "${WORKDIR}/build" | 35 | B = "${WORKDIR}/build" |
36 | do_configure[cleandirs] = "${B}" | 36 | do_configure[cleandirs] = "${B}" |
37 | 37 | ||
38 | EXTRA_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) |
46 | EXTRA_OECONF:class-native = "--with-rand-seed=os,devrandom" | 48 | EXTRA_OECONF:append:class-native = " --with-rand-seed=os,devrandom" |
47 | EXTRA_OECONF:class-nativesdk = "--with-rand-seed=os,devrandom" | 49 | EXTRA_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. |
50 | CFLAGS:append:class-native = " -DOPENSSLDIR=/not/builtin -DENGINESDIR=/not/builtin" | 52 | CFLAGS:append:class-native = " -DOPENSSLDIR=/not/builtin -DENGINESDIR=/not/builtin" |