nfdump: fix compilation with PKG_ASLR
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
f53cd4232a
commit
0b01966590
1 changed files with 10 additions and 0 deletions
10
net/nfdump/patches/010-fPIE.patch
Normal file
10
net/nfdump/patches/010-fPIE.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -9,7 +9,6 @@ AC_CONFIG_HEADER([config.h])
|
||||
AM_INIT_AUTOMAKE([subdir-objects])
|
||||
|
||||
# Checks for programs.
|
||||
-CFLAGS="-g -O3"
|
||||
AC_PROG_CC([clang gcc])
|
||||
AX_CHECK_C11
|
||||
CFLAGS="$CFLAGS -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -fno-strict-aliasing"
|
Loading…
Reference in a new issue