wolfssl: always build with --enable-reproducible-build
authorAndre Heider <a.heider@gmail.com>
Sat, 2 Oct 2021 08:50:49 +0000 (10:50 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 23 Oct 2021 10:37:18 +0000 (12:37 +0200)
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)

package/libs/wolfssl/Makefile

index 28816657538886b24d8a2265669f7677cab69520..937828c9a01842d6dd0bc40e170dbc87d4160283 100644 (file)
@@ -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 \