From 276d6b685b9d48719e1c66e31954dec2d2ba6fe2 Mon Sep 17 00:00:00 2001 From: ading2210 Date: Tue, 11 Feb 2025 15:20:17 -0500 Subject: [PATCH] try compiling with -O3 --- client/tools/curl.sh | 4 ++-- client/tools/mbedtls.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/tools/curl.sh b/client/tools/curl.sh index c132e14..21a3df4 100755 --- a/client/tools/curl.sh +++ b/client/tools/curl.sh @@ -14,7 +14,7 @@ NGHTTP2_PREFIX=$(realpath build/nghttp2-wasm) cd build 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 autoreconf -fi @@ -27,7 +27,7 @@ emconfigure ./configure --host i686-linux \ --with-mbedtls=$MBEDTLS_PREFIX --with-zlib=$ZLIB_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 mkdir -p $PREFIX/include diff --git a/client/tools/mbedtls.sh b/client/tools/mbedtls.sh index 0127e2c..dc28c92 100755 --- a/client/tools/mbedtls.sh +++ b/client/tools/mbedtls.sh @@ -15,7 +15,7 @@ rm -rf mbedtls git clone -b mbedtls-3.6.2 --recursive --depth=1 https://github.com/Mbed-TLS/mbedtls 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 rm -rf $PREFIX/bin