wolfssl: always build with --enable-reproducible-build
authorAndre Heider <a.heider@gmail.com>
Sat, 2 Oct 2021 08:50:49 +0000 (10:50 +0200)
committerDavid Bauer <mail@david-bauer.net>
Sun, 17 Oct 2021 14:29:00 +0000 (16:29 +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>
package/libs/wolfssl/Makefile

index e52cff30b1a202560a9f3842a8a1d633d8c0c1b2..edbe95b654d22bbd28f3d9707308c20c442d7773 100644 (file)
@@ -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 \