packages/net/nfdump/patches/010-fPIE.patch
Rosen Penev 0b01966590 nfdump: fix compilation with PKG_ASLR
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-08-21 11:45:19 -07:00

10 lines
329 B
Diff

--- 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"