Slim down openssl build

This commit is contained in:
BtbN 2023-08-26 22:58:49 +02:00
parent d4e9130c48
commit f478b31348

View File

@ -20,6 +20,11 @@ ffbuild_dockerbuild() {
threads
zlib
no-shared
no-tests
no-apps
no-legacy
no-ssl2
no-ssl3
enable-camellia
enable-ec
enable-srp
@ -61,6 +66,9 @@ ffbuild_dockerbuild() {
export AR="${AR/${FFBUILD_CROSS_PREFIX}/}"
export RANLIB="${RANLIB/${FFBUILD_CROSS_PREFIX}/}"
# Actually allow Configure to disable apps
sed -i '/^my @disablables =/ s/$/"apps",/' Configure
./Configure "${myconf[@]}"
sed -i -e "/^CFLAGS=/s|=.*|=${CFLAGS}|" -e "/^LDFLAGS=/s|=[[:space:]]*$|=${LDFLAGS}|" Makefile