nfdump: fix compilation with PKG_ASLR
authorRosen Penev <rosenp@gmail.com>
Sat, 21 Aug 2021 00:30:02 +0000 (17:30 -0700)
committerRosen Penev <rosenp@gmail.com>
Sat, 21 Aug 2021 18:45:19 +0000 (11:45 -0700)
Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/nfdump/patches/010-fPIE.patch [new file with mode: 0644]

diff --git a/net/nfdump/patches/010-fPIE.patch b/net/nfdump/patches/010-fPIE.patch
new file mode 100644 (file)
index 0000000..d93f993
--- /dev/null
@@ -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"