Browse Source
Merge pull request #16421 from neheb/nfdd
nfdump: fix compilation with PKG_ASLR
lilik-openwrt-22.03
Rosen Penev
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
10 additions and
0 deletions
-
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" |