# HG changeset patch # User Matt Johnston # Date 1498574552 -28800 # Node ID 8f88f4290b22222ed2880b9a99318b57409a4070 # Parent b8764eee6bdb44ee66e380f23c8859215a4b11e8 document --enable-static in place of STATIC=1 diff -r b8764eee6bdb -r 8f88f4290b22 INSTALL --- a/INSTALL Tue Jun 27 22:37:46 2017 +0800 +++ b/INSTALL Tue Jun 27 22:42:32 2017 +0800 @@ -22,7 +22,11 @@ See MULTI for instructions on making all-in-one binaries. -If you want to compile statically, add "STATIC=1" to the make command-line. +If you want to compile statically use ./configure --enable-static + +By default Dropbear adds various build flags that improve robustness +against programming bugs (good for security) - if these cause problems +they can be disabled with ./configure --disable-harden Binaries can be stripped with "make strip" diff -r b8764eee6bdb -r 8f88f4290b22 Makefile.in --- a/Makefile.in Tue Jun 27 22:37:46 2017 +0800 +++ b/Makefile.in Tue Jun 27 22:42:32 2017 +0800 @@ -2,12 +2,11 @@ # @configure_input@ # invocation: -# make PROGRAMS="dropbear dbclient scp" MULTI=1 STATIC=1 SCPPROGRESS=1 +# make PROGRAMS="dropbear dbclient scp" MULTI=1 SCPPROGRESS=1 # -# to make a multiple-program statically linked binary "staticdropbearmulti". +# to make a multiple-program binary "dropbearmulti". # This example will include dropbear, scp, dropbearkey, dropbearconvert, and # dbclient functionality, and includes the progress-bar functionality in scp. -# Hopefully that seems intuitive. ifndef PROGRAMS PROGRAMS=dropbear dbclient dropbearkey dropbearconvert diff -r b8764eee6bdb -r 8f88f4290b22 configure.ac --- a/configure.ac Tue Jun 27 22:37:46 2017 +0800 +++ b/configure.ac Tue Jun 27 22:42:32 2017 +0800 @@ -35,7 +35,7 @@ STATIC=0 AC_ARG_ENABLE(static, - [ --enable-static Build static binaries], + [ --enable-static Build static binaries], [ if test "x$enableval" = "xyes"; then STATIC=1