diff options
author | Andre Heider <a.heider@gmail.com> | 2021-10-02 10:50:49 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2021-10-23 12:37:18 +0200 |
commit | 249478ec48509ba42827867fd15372478f9f42d2 (patch) | |
tree | 1b948539d513e8c8db1be21f4a96d44391ce5cca | |
parent | 23cd9fafa89a8058a88763cc0526a1e85a9f7ebb (diff) | |
download | upstream-249478ec48509ba42827867fd15372478f9f42d2.tar.gz upstream-249478ec48509ba42827867fd15372478f9f42d2.tar.bz2 upstream-249478ec48509ba42827867fd15372478f9f42d2.zip |
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@gmail.com>
(cherry picked from commit c76300707e8d705d9efc7ed4bb1b7449d0a5fe00)
-rw-r--r-- | package/libs/wolfssl/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
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 \ |