build: add hardened builds with PIE (ASLR) support
[openwrt/staging/stintel.git] / package / utils / busybox / Makefile
index 8866756aeafe51972012df5964933a0cef9b19b0..4f85cc9614dcddcb6f30cc4f662921ff56cdfd7c 100644 (file)
@@ -22,6 +22,9 @@ PKG_BUILD_PARALLEL:=1
 PKG_CHECK_FORMAT_SECURITY:=0
 PKG_INSTALL:=1
 
+#Busybox use it's own PIE config flag and LDFLAGS are used with ld, not gcc.
+PKG_ASLR_PIE:=0
+
 PKG_LICENSE:=GPL-2.0
 PKG_LICENSE_FILES:=LICENSE archival/libarchive/bz/LICENSE
 PKG_CPE_ID:=cpe:/a:busybox:busybox