diff options
author | Felix Fietkau <nbd@nbd.name> | 2018-07-11 19:28:54 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2018-07-13 17:22:53 +0200 |
commit | 47b42137ce1e931ae5871952b1f98438396f5e07 (patch) | |
tree | 3583ef7265882a0721d2f4a26f862047c247c934 /package/network/services/dropbear/Makefile | |
parent | ef96d1e34a990871c912938c336f51a510b1e32f (diff) | |
download | upstream-47b42137ce1e931ae5871952b1f98438396f5e07.tar.gz upstream-47b42137ce1e931ae5871952b1f98438396f5e07.tar.bz2 upstream-47b42137ce1e931ae5871952b1f98438396f5e07.zip |
dropbear: compile with LTO enabled
Reduces size of the .ipk on MIPS from 87k to 84k
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/network/services/dropbear/Makefile')
-rw-r--r-- | package/network/services/dropbear/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/services/dropbear/Makefile b/package/network/services/dropbear/Makefile index 742e538ff5..515434dc2f 100644 --- a/package/network/services/dropbear/Makefile +++ b/package/network/services/dropbear/Makefile @@ -86,8 +86,8 @@ CONFIGURE_ARGS += \ $(if $(CONFIG_DROPBEAR_ZLIB),,--disable-zlib) \ --enable-bundled-libtom -TARGET_CFLAGS += -DARGTYPE=3 -ffunction-sections -fdata-sections -TARGET_LDFLAGS += -Wl,--gc-sections +TARGET_CFLAGS += -DARGTYPE=3 -ffunction-sections -fdata-sections -flto +TARGET_LDFLAGS += -Wl,--gc-sections -flto=jobserver define Build/Configure $(Build/Configure/Default) |