From: Andre Heider Date: Sat, 2 Oct 2021 08:50:49 +0000 (+0200) Subject: wolfssl: always build with --enable-reproducible-build X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c76300707e8d705d9efc7ed4bb1b7449d0a5fe00;p=openwrt%2Fstaging%2Fthess.git 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 --- diff --git a/package/libs/wolfssl/Makefile b/package/libs/wolfssl/Makefile index e52cff30b1..edbe95b654 100644 --- a/package/libs/wolfssl/Makefile +++ b/package/libs/wolfssl/Makefile @@ -70,6 +70,7 @@ TARGET_LDFLAGS += -flto # --enable-stunnel needed for OpenSSL API compatibility bits CONFIGURE_ARGS += \ + --enable-reproducible-build \ --enable-lighty \ --enable-opensslall \ --enable-opensslextra \