openssl_1.1.1: Fix Musl build by disabling async during configure

(From OE-Core rev: b011ae369de12bb54cd466d9f43139d9d2937383)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2018-09-04 12:00:26 -07:00
committed by Richard Purdie
parent f0386ed8ee
commit bb0157d20c

View File

@@ -31,7 +31,7 @@ inherit lib_package multilib_header ptest
#| ./libcrypto.so: undefined reference to `getcontext'
#| ./libcrypto.so: undefined reference to `setcontext'
#| ./libcrypto.so: undefined reference to `makecontext'
CPPFLAGS_append_libc-musl = " -DOPENSSL_NO_ASYNC"
EXTRA_OECONF_append_libc-musl = " no-async"
# This prevents openssl from using getrandom() which is not available on older glibc versions
# (native versions can be built with newer glibc, but then relocated onto a system with older glibc)