mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 12:49:34 +02:00
openssl: Skip assembler optimized code for powerpc64 with musl
This code is written for elfv1 ABI in mind and linked as such: disable all optimizations at the moment when building for powerpc64 with musl. (From OE-Core rev: bee9e807430178426b2a5635b573ae285e889c39) Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
6be12c0622
commit
fb02d11cad
@@ -81,6 +81,7 @@ CCACHE = ""
|
||||
|
||||
TERMIO ?= "-DTERMIO"
|
||||
TERMIO_libc-musl = "-DTERMIOS"
|
||||
EXTRA_OECONF_append_libc-musl_powerpc64 = " no-asm"
|
||||
|
||||
CFLAG = "${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', '-DL_ENDIAN', '-DB_ENDIAN', d)} \
|
||||
${TERMIO} ${CFLAGS} -Wall"
|
||||
|
||||
@@ -35,6 +35,7 @@ do_configure[cleandirs] = "${B}"
|
||||
#| ./libcrypto.so: undefined reference to `setcontext'
|
||||
#| ./libcrypto.so: undefined reference to `makecontext'
|
||||
EXTRA_OECONF_append_libc-musl = " no-async"
|
||||
EXTRA_OECONF_append_libc-musl_powerpc64 = " no-asm"
|
||||
|
||||
# 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)
|
||||
|
||||
Reference in New Issue
Block a user