package/openssl: add and use BR2_PACKAGE_LIBRESSL_ARCH_SUPPORTS
libressl doesn't support all architectures since bump to version 3.8.2 in commit21eca49ed5
andb98c56fd5e
71ce0b8c3e
: In file included from /home/autobuild/autobuild/instance-4/output-1/build/libressl-3.8.2/crypto/rc4/rc4_enc.c:61: /home/autobuild/autobuild/instance-4/output-1/build/libressl-3.8.2/crypto/../include/openssl/rc4.h:75:9: error: unknown type name 'RC4_INT' 75 | RC4_INT x, y; | ^~~~~~~ Fixes: - http://autobuild.buildroot.org/results/1f6ac121b3771ccc4b0e846c061b7002ccb63963 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit 080f2d94b7ac6e8ed5aef99000ec35a001186ed9) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
a7ce3d11c9
commit
30a8aab0f8
@ -1,3 +1,14 @@
|
|||||||
|
config BR2_PACKAGE_LIBRESSL_ARCH_SUPPORTS
|
||||||
|
bool
|
||||||
|
# see include/CMakeLists.txt
|
||||||
|
default y if BR2_aarch64 || BR2_aarch64_be
|
||||||
|
default y if BR2_arm || BR2_armeb
|
||||||
|
default y if BR2_i386 || BR2_x86_64
|
||||||
|
default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
|
||||||
|
default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
|
||||||
|
default y if BR2_RISCV_64
|
||||||
|
default y if BR2_sparc64
|
||||||
|
|
||||||
config BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
|
config BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
|
||||||
bool
|
bool
|
||||||
|
|
||||||
@ -32,6 +43,7 @@ source "package/libopenssl/Config.in"
|
|||||||
|
|
||||||
config BR2_PACKAGE_LIBRESSL
|
config BR2_PACKAGE_LIBRESSL
|
||||||
bool "libressl"
|
bool "libressl"
|
||||||
|
depends on BR2_PACKAGE_LIBRESSL_ARCH_SUPPORTS
|
||||||
depends on !BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
|
depends on !BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||||
# uClibc doesn't provide __register_atfork() without NPTL
|
# uClibc doesn't provide __register_atfork() without NPTL
|
||||||
|
Loading…
Reference in New Issue
Block a user