This activates PIE ASLR support by default when the regular option is
selected. This is required to enable PIE ASLR support by default in ppp,
as it fails to build without it, on x86/64.

The .so file size stays identical.

Suggested-by: Felix Fietkau <[email protected]>
Signed-off-by: Stijn Tintel <[email protected]>
---
 package/libs/libpcap/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/libs/libpcap/Makefile b/package/libs/libpcap/Makefile
index 69af9d0700..1a2cdcdd98 100644
--- a/package/libs/libpcap/Makefile
+++ b/package/libs/libpcap/Makefile
@@ -19,6 +19,7 @@ 
PKG_HASH:=635237637c5b619bcceba91900666b64d56ecb7be63f298f601ec786ce087094
 PKG_MAINTAINER:=Felix Fietkau <[email protected]>
 
 CMAKE_INSTALL:=1
+PKG_ASLR_PIE_REGULAR:=1
 PKG_BUILD_PARALLEL:=1
 
 PKG_LICENSE:=BSD-3-Clause
-- 
2.24.1


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to