mirror of
https://github.com/Theldus/alertik.git
synced 2024-11-25 09:23:06 +01:00
Final attempt to shrink: 355kB
This commit is contained in:
parent
36bea94512
commit
e3ca556576
@ -51,6 +51,8 @@ download_build_libcurl() {
|
|||||||
echo "[+] Building cURL ..."
|
echo "[+] Building cURL ..."
|
||||||
cd curl*/
|
cd curl*/
|
||||||
mkdir -p build && cd build/
|
mkdir -p build && cd build/
|
||||||
|
export CFLAGS="-Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -flto"
|
||||||
|
export LDFLAGS="-Wl,-s -Wl,-Bsymbolic -Wl,--gc-sections"
|
||||||
../configure \
|
../configure \
|
||||||
--prefix="$MUSL_PREFIX" \
|
--prefix="$MUSL_PREFIX" \
|
||||||
--target=armv6-linux-musleabi \
|
--target=armv6-linux-musleabi \
|
||||||
@ -58,7 +60,13 @@ download_build_libcurl() {
|
|||||||
--build=x86_64-linux-gnu \
|
--build=x86_64-linux-gnu \
|
||||||
--with-bearssl \
|
--with-bearssl \
|
||||||
--without-zlib \
|
--without-zlib \
|
||||||
|
--without-zstd \
|
||||||
--without-brotli \
|
--without-brotli \
|
||||||
|
--without-librtmp \
|
||||||
|
--disable-headers-api \
|
||||||
|
--disable-verbose \
|
||||||
|
--disable-http-auth \
|
||||||
|
--disable-cookies \
|
||||||
--disable-ipv6 \
|
--disable-ipv6 \
|
||||||
--disable-ftp \
|
--disable-ftp \
|
||||||
--disable-gopher \
|
--disable-gopher \
|
||||||
@ -72,6 +80,7 @@ download_build_libcurl() {
|
|||||||
--disable-telnet \
|
--disable-telnet \
|
||||||
--disable-tftp \
|
--disable-tftp \
|
||||||
--disable-hsts \
|
--disable-hsts \
|
||||||
|
--disable-doh \
|
||||||
--disable-largefile \
|
--disable-largefile \
|
||||||
--disable-dependency-tracking \
|
--disable-dependency-tracking \
|
||||||
--disable-shared \
|
--disable-shared \
|
||||||
|
Loading…
Reference in New Issue
Block a user