diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl_1.1.1d.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl_1.1.1d.bb b/meta/recipes-connectivity/openssl/openssl_1.1.1d.bb index b00624650a..0e65f333e2 100644 --- a/meta/recipes-connectivity/openssl/openssl_1.1.1d.bb +++ b/meta/recipes-connectivity/openssl/openssl_1.1.1d.bb | |||
@@ -42,10 +42,10 @@ do_configure[cleandirs] = "${B}" | |||
42 | EXTRA_OECONF_append_libc-musl = " no-async" | 42 | EXTRA_OECONF_append_libc-musl = " no-async" |
43 | EXTRA_OECONF_append_libc-musl_powerpc64 = " no-asm" | 43 | EXTRA_OECONF_append_libc-musl_powerpc64 = " no-asm" |
44 | 44 | ||
45 | # This prevents openssl from using getrandom() which is not available on older glibc versions | 45 | # adding devrandom prevents openssl from using getrandom() which is not available on older glibc versions |
46 | # (native versions can be built with newer glibc, but then relocated onto a system with older glibc) | 46 | # (native versions can be built with newer glibc, but then relocated onto a system with older glibc) |
47 | EXTRA_OECONF_class-native = "--with-rand-seed=devrandom" | 47 | EXTRA_OECONF_class-native = "--with-rand-seed=os,devrandom" |
48 | EXTRA_OECONF_class-nativesdk = "--with-rand-seed=devrandom" | 48 | EXTRA_OECONF_class-nativesdk = "--with-rand-seed=os,devrandom" |
49 | 49 | ||
50 | # Relying on hardcoded built-in paths causes openssl-native to not be relocateable from sstate. | 50 | # Relying on hardcoded built-in paths causes openssl-native to not be relocateable from sstate. |
51 | CFLAGS_append_class-native = " -DOPENSSLDIR=/not/builtin -DENGINESDIR=/not/builtin" | 51 | CFLAGS_append_class-native = " -DOPENSSLDIR=/not/builtin -DENGINESDIR=/not/builtin" |