From 0b01966590be046b3e83241d7e68d5ff81c621ef Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Fri, 20 Aug 2021 17:30:02 -0700 Subject: [PATCH] nfdump: fix compilation with PKG_ASLR Signed-off-by: Rosen Penev --- net/nfdump/patches/010-fPIE.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 net/nfdump/patches/010-fPIE.patch diff --git a/net/nfdump/patches/010-fPIE.patch b/net/nfdump/patches/010-fPIE.patch new file mode 100644 index 000000000..d93f99395 --- /dev/null +++ b/net/nfdump/patches/010-fPIE.patch @@ -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"