[openwrt/openwrt] wolfssl: always build with --enable-reproducible-build

LEDE Commits lede-commits at lists.infradead.org
Sat Oct 23 03:42:17 PDT 2021


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-21.02:
https://git.openwrt.org/249478ec48509ba42827867fd15372478f9f42d2

commit 249478ec48509ba42827867fd15372478f9f42d2
Author: Andre Heider <a.heider at gmail.com>
AuthorDate: Sat Oct 2 10:50:49 2021 +0200

    wolfssl: always build with --enable-reproducible-build
    
    This gates out anything that might introduce semantically frivolous jitter,
    maximizing chance of identical object files.
    
    The binary size shrinks by 8kb:
    1244352 staging_dir/target-mipsel_24kc_musl/usr/lib/libwolfssl.so.4.8.1.39c36f2f
    1236160 staging_dir/target-mipsel_24kc_musl/usr/lib/libwolfssl.so.4.8.1.39c36f2f
    
    Signed-off-by: Andre Heider <a.heider at gmail.com>
    (cherry picked from commit c76300707e8d705d9efc7ed4bb1b7449d0a5fe00)
---
 package/libs/wolfssl/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/libs/wolfssl/Makefile b/package/libs/wolfssl/Makefile
index 2881665753..937828c9a0 100644
--- a/package/libs/wolfssl/Makefile
+++ b/package/libs/wolfssl/Makefile
@@ -69,6 +69,7 @@ TARGET_LDFLAGS += -flto
 
 # --enable-stunnel needed for OpenSSL API compatibility bits
 CONFIGURE_ARGS += \
+	--enable-reproducible-build \
 	--enable-lighty \
 	--enable-opensslall \
 	--enable-opensslextra \



More information about the lede-commits mailing list