mirror of
https://github.com/openwrt/packages.git
synced 2026-01-09 19:31:21 +00:00
nfdump: fix compilation with PKG_ASLR
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
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"
|
||||
Reference in New Issue
Block a user