libpcap: activate PIE ASLR by default
authorStijn Tintel <stijn@linux-ipv6.be>
Sat, 22 Feb 2020 09:40:26 +0000 (11:40 +0200)
committerPetr Štetiar <ynezz@true.cz>
Sun, 1 Mar 2020 20:35:59 +0000 (21:35 +0100)
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 <nbd@nbd.name>
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
package/libs/libpcap/Makefile

index 69af9d070066edb4d9f0839976eedabc85de6a51..1a2cdcdd98473d6a306929df368b1cca2a140ef8 100644 (file)
@@ -19,6 +19,7 @@ PKG_HASH:=635237637c5b619bcceba91900666b64d56ecb7be63f298f601ec786ce087094
 PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
 
 CMAKE_INSTALL:=1
+PKG_ASLR_PIE_REGULAR:=1
 PKG_BUILD_PARALLEL:=1
 
 PKG_LICENSE:=BSD-3-Clause