[Buildroot] [git commit] package/libopenssl: don't build the afalg engine

Yann E. MORIN yann.morin.1998 at free.fr
Sat Nov 5 15:03:30 UTC 2022


commit: https://git.buildroot.net/buildroot/commit/?id=adc1c5d8f14f69a62a2a4260465363ab120816ab
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

The openssl configure script disables the afalg engine when it detects
cross-compilation, but the detection missfires because it is based on
the CROSS_COMPILE environment variable, which we do not set (as we pass
fully qualified CC et al.).

So, the afalg engine is built, but it is built for the host, not the
target, so it does not make sense to build and install it. Besides, it
leaks build host info.

Signed-off-by: Nuno Gonçalves <nunog at fr24.com>
[yann.morin.1998 at free.fr: extend commit log]
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
---
 package/libopenssl/libopenssl.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/libopenssl/libopenssl.mk b/package/libopenssl/libopenssl.mk
index c7a2d65cc4..50d41a6533 100644
--- a/package/libopenssl/libopenssl.mk
+++ b/package/libopenssl/libopenssl.mk
@@ -83,6 +83,7 @@ define LIBOPENSSL_CONFIGURE_CMDS
 			no-tests \
 			no-fuzz-libfuzzer \
 			no-fuzz-afl \
+			no-afalgeng \
 			$(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_CHACHA),,no-chacha) \
 			$(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_RC5),,no-rc5) \
 			$(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_RC2),,no-rc2) \



More information about the buildroot mailing list