[openwrt/openwrt] wolfssl: always build with --enable-reproducible-build
LEDE Commits
lede-commits at lists.infradead.org
Sun Oct 17 07:37:23 PDT 2021
blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/c76300707e8d705d9efc7ed4bb1b7449d0a5fe00
commit c76300707e8d705d9efc7ed4bb1b7449d0a5fe00
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>
---
package/libs/wolfssl/Makefile | 1 +
1 file changed, 1 insertion(+)
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 \
More information about the lede-commits
mailing list