diff options
-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 080d1a8bb7..072f727e0b 100644 --- a/meta/recipes-connectivity/openssl/openssl_1.1.1d.bb +++ b/meta/recipes-connectivity/openssl/openssl_1.1.1d.bb | |||
@@ -43,10 +43,10 @@ do_configure[cleandirs] = "${B}" | |||
43 | EXTRA_OECONF_append_libc-musl = " no-async" | 43 | EXTRA_OECONF_append_libc-musl = " no-async" |
44 | EXTRA_OECONF_append_libc-musl_powerpc64 = " no-asm" | 44 | EXTRA_OECONF_append_libc-musl_powerpc64 = " no-asm" |
45 | 45 | ||
46 | # This 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 |
47 | # (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) |
48 | EXTRA_OECONF_class-native = "--with-rand-seed=devrandom" | 48 | EXTRA_OECONF_class-native = "--with-rand-seed=os,devrandom" |
49 | EXTRA_OECONF_class-nativesdk = "--with-rand-seed=devrandom" | 49 | EXTRA_OECONF_class-nativesdk = "--with-rand-seed=os,devrandom" |
50 | 50 | ||
51 | # 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. |
52 | CFLAGS_append_class-native = " -DOPENSSLDIR=/not/builtin -DENGINESDIR=/not/builtin" | 52 | CFLAGS_append_class-native = " -DOPENSSLDIR=/not/builtin -DENGINESDIR=/not/builtin" |