projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f53cd42
)
nfdump: fix compilation with PKG_ASLR
author
Rosen Penev
<rosenp@gmail.com>
Sat, 21 Aug 2021 00:30:02 +0000
(17:30 -0700)
committer
Rosen Penev
<rosenp@gmail.com>
Sat, 21 Aug 2021 18:45:19 +0000
(11:45 -0700)
Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/nfdump/patches/010-fPIE.patch
[new file with mode: 0644]
patch
|
blob
diff --git a/net/nfdump/patches/010-fPIE.patch
b/net/nfdump/patches/010-fPIE.patch
new file mode 100644
(file)
index 0000000..
d93f993
--- /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"