Browse Source

libpcap: activate PIE ASLR by default

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]>
Stijn Tintel 5 years ago
parent
commit
8ce359d6bb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package/libs/libpcap/Makefile

+ 1 - 0
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