mirror of
https://git.netfilter.org/libmnl
synced 2026-01-26 10:34:28 +00:00
ld: add some more precautionary CFLAGS
Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
parent
fe73d7d885
commit
b28767d124
@ -21,4 +21,4 @@
|
||||
LIBVERSION=0:0:0
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/include
|
||||
AM_CFLAGS = -Wall -Wextra -Wno-unused-parameter ${GCC_FVISIBILITY_HIDDEN}
|
||||
AM_CFLAGS = ${regular_CFLAGS} ${GCC_FVISIBILITY_HIDDEN}
|
||||
|
||||
@ -17,5 +17,10 @@ case $target in
|
||||
*) AC_MSG_ERROR([Linux only, dude!]);;
|
||||
esac
|
||||
|
||||
regular_CFLAGS="-D_FILE_OFFSET_BITS=64 \
|
||||
-D_REENTRANT -Wall -Waggregate-return -Wmissing-declarations \
|
||||
-Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes \
|
||||
-Wformat=2 -pipe"
|
||||
AC_SUBST([regular_CFLAGS])
|
||||
AC_CONFIG_FILES([Makefile src/Makefile include/Makefile include/libmnl/Makefile examples/Makefile examples/genl/Makefile examples/netfilter/Makefile examples/rtnl/Makefile libmnl.pc doxygen.cfg])
|
||||
AC_OUTPUT
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user