support http/2

This commit is contained in:
ading2210 2024-01-17 17:46:08 -05:00
parent 8bcfc2157c
commit baab0aea8f
6 changed files with 36 additions and 3 deletions

View file

@ -14,6 +14,8 @@ rm -rf openssl
git clone -b master --depth=1 https://github.com/openssl/openssl
cd openssl
export CFLAGS="-Wall -Oz"
export CXXFLAGS="-Wall -Oz"
emconfigure ./Configure linux-x32 --prefix=$PREFIX -no-asm -static -no-afalgeng -no-dso -DOPENSSL_SYS_NETWARE -DSIG_DFL=0 -DSIG_IGN=0 -DHAVE_FORK=0 -DOPENSSL_NO_AFALGENG=1 -DOPENSSL_NO_SPEED=1 -DOPENSSL_NO_DYNAMIC_ENGINE -DDLOPEN_FLAG=0
sed -i 's|^CROSS_COMPILE.*$|CROSS_COMPILE=|g' Makefile
emmake make -j$CORE_COUNT build_generated libssl.a libcrypto.a