GitHub

Original file line numberDiff line numberDiff line change

@@ -7,8 +7,8 @@ echo === download source

77

download a4d316c404ff54ca545ea71a27af7dbc29817088 \

88

http://downloads.sf.net/libpng/zlib-1.2.8.tar.gz

99
10-

download 1b112e32da9af8f8aa0a6e6f64f440c039459a49 \

11-

https://matt.ucc.asn.au/dropbear/releases/dropbear-2016.73.tar.bz2

10+

download 820ec2b8c869edbcf5ad1138777fc0f54349505c \

11+

https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2

1212
1313

echo === Native build static zlib

1414

@@ -27,7 +27,7 @@ setupfor dropbear

2727

# Repeat after me: "autoconf is useless"

2828

echo 'echo "$@"' > config.sub &&

2929

ZLIB="$(echo ../zlib*)" &&

30-

CFLAGS="-I $ZLIB -Os" LDFLAGS="--static -L $ZLIB" ./configure \

30+

CFLAGS="-I $ZLIB -O2" LDFLAGS="-L $ZLIB" ./configure --enable-static \

3131

--host=${CROSS_BASE%-} &&

3232

sed -i 's@/usr/bin/dbclient@ssh@' options.h &&

3333

make -j $(nproc) PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" MULTI=1 SCPPROGRESS=1 &&

Read the original on github.com ↗