aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd/Makefile
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2019-10-27 15:01:42 +0100
committerPetr Štetiar <ynezz@true.cz>2020-01-13 15:34:36 +0100
commit6b2379d048e7bce5148abaf737b3eea8b47fc2ca (patch)
treec9e8011007ba7e0301cfd5630963b15c3ca5123f /package/network/services/hostapd/Makefile
parent7ab66130264a1955c45fa10c3b5acdd3ffc9d3f9 (diff)
downloadupstream-6b2379d048e7bce5148abaf737b3eea8b47fc2ca.tar.gz
upstream-6b2379d048e7bce5148abaf737b3eea8b47fc2ca.tar.bz2
upstream-6b2379d048e7bce5148abaf737b3eea8b47fc2ca.zip
hostapd: Activate PIE by default
This activates PIE ASLR support by default when the regular option is selected. This increases the binary size by 26% uncompressed and 16% compressed on MIPS BE. old: 460,933 /usr/sbin/wpad 283,891 wpad-basic_2019-08-08-ca8c2bd2-1_mips_24kc.ipk new: 584,508 /usr/sbin/wpad 330,281 wpad-basic_2019-08-08-ca8c2bd2-1_mips_24kc.ipk Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Acked-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'package/network/services/hostapd/Makefile')
-rw-r--r--package/network/services/hostapd/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile
index 408c15390e..11d0d7a9ce 100644
--- a/package/network/services/hostapd/Makefile
+++ b/package/network/services/hostapd/Makefile
@@ -20,6 +20,7 @@ PKG_LICENSE:=BSD-3-Clause
PKG_CPE_ID:=cpe:/a:w1.fi:hostapd
PKG_BUILD_PARALLEL:=1
+PKG_ASLR_PIE_REGULAR:=1
PKG_CONFIG_DEPENDS:= \
CONFIG_PACKAGE_kmod-ath9k \