Browse Source

nfdump: fix compilation with PKG_ASLR

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 3 years ago
parent
commit
0b01966590
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      net/nfdump/patches/010-fPIE.patch

+ 10
- 0
net/nfdump/patches/010-fPIE.patch View 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…
Cancel
Save