From: Hauke Mehrtens Date: Sun, 27 Oct 2019 13:56:27 +0000 (+0100) Subject: dropbear: Activate PIE by default X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=7ab66130264a1955c45fa10c3b5acdd3ffc9d3f9;p=openwrt%2Fstaging%2Fblocktrron.git dropbear: Activate PIE by default This activates PIE ASLR support by default when the regular option is selected. This increases the binary size by 18% uncompressed and 17% compressed on MIPS BE. old: 164,261 /usr/sbin/dropbear 85,648 dropbear_2019.78-2_mips_24kc.ipk new: 194,492 /usr/sbin/dropbear 100,309 dropbear_2019.78-2_mips_24kc.ipk Signed-off-by: Hauke Mehrtens Acked-by: Petr Štetiar --- diff --git a/package/network/services/dropbear/Makefile b/package/network/services/dropbear/Makefile index c55af45428..d92b94915b 100644 --- a/package/network/services/dropbear/Makefile +++ b/package/network/services/dropbear/Makefile @@ -22,6 +22,7 @@ PKG_LICENSE_FILES:=LICENSE libtomcrypt/LICENSE libtommath/LICENSE PKG_CPE_ID:=cpe:/a:matt_johnston:dropbear_ssh_server PKG_BUILD_PARALLEL:=1 +PKG_ASLR_PIE_REGULAR:=1 PKG_USE_MIPS16:=0 PKG_FIXUP:=autoreconf