From dce9b3c29588698c436bc2aa31b2d4714f4ecc63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Gon=C3=A7alves?= Date: Tue, 4 Oct 2022 12:15:28 +0100 Subject: [PATCH] package/libopenssl: don't build the afalg engine MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 [yann.morin.1998@free.fr: extend commit log] Signed-off-by: Yann E. MORIN (cherry picked from commit adc1c5d8f14f69a62a2a4260465363ab120816ab) Signed-off-by: Peter Korsgaard --- 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) \