mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-13 22:40:01 -04:00
try compiling with -O3
This commit is contained in:
parent
3a2ab40e75
commit
276d6b685b
2 changed files with 3 additions and 3 deletions
|
@ -14,7 +14,7 @@ NGHTTP2_PREFIX=$(realpath build/nghttp2-wasm)
|
||||||
|
|
||||||
cd build
|
cd build
|
||||||
rm -rf curl
|
rm -rf curl
|
||||||
git clone -b curl-8_11_1 --depth=1 https://github.com/curl/curl
|
git clone -b curl-8_12_0 --depth=1 https://github.com/curl/curl
|
||||||
cd curl
|
cd curl
|
||||||
|
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
|
@ -27,7 +27,7 @@ emconfigure ./configure --host i686-linux \
|
||||||
--with-mbedtls=$MBEDTLS_PREFIX --with-zlib=$ZLIB_PREFIX \
|
--with-mbedtls=$MBEDTLS_PREFIX --with-zlib=$ZLIB_PREFIX \
|
||||||
--with-brotli=$BROTLI_PREFIX --with-nghttp2=$NGHTTP2_PREFIX
|
--with-brotli=$BROTLI_PREFIX --with-nghttp2=$NGHTTP2_PREFIX
|
||||||
|
|
||||||
emmake make -j$CORE_COUNT CFLAGS="-Oz" LIBS="-lbrotlicommon"
|
emmake make -j$CORE_COUNT CFLAGS="-O3" LIBS="-lbrotlicommon"
|
||||||
|
|
||||||
rm -rf $PREFIX
|
rm -rf $PREFIX
|
||||||
mkdir -p $PREFIX/include
|
mkdir -p $PREFIX/include
|
||||||
|
|
|
@ -15,7 +15,7 @@ rm -rf mbedtls
|
||||||
git clone -b mbedtls-3.6.2 --recursive --depth=1 https://github.com/Mbed-TLS/mbedtls mbedtls
|
git clone -b mbedtls-3.6.2 --recursive --depth=1 https://github.com/Mbed-TLS/mbedtls mbedtls
|
||||||
cd mbedtls
|
cd mbedtls
|
||||||
|
|
||||||
emmake make CFLAGS="-Oz" no_test -j$CORE_COUNT
|
emmake make CFLAGS="-O3" no_test -j$CORE_COUNT
|
||||||
make DESTDIR="$PREFIX" install
|
make DESTDIR="$PREFIX" install
|
||||||
|
|
||||||
rm -rf $PREFIX/bin
|
rm -rf $PREFIX/bin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue