]> git.ipfire.org Git - thirdparty/ulogd2.git/commitdiff
compilation: set -Wno-ununused-parameter in CFLAGS
authorEric Leblond <eric@inl.fr>
Fri, 1 Aug 2008 08:32:13 +0000 (10:32 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 1 Aug 2008 08:32:13 +0000 (10:32 +0200)
This patch adds the "-Wno-unused-parameter" option to CFLAGS. This
suppress gcc warning that can not be fixed due to the usage of generic system
like callback where function definition has to be standardized.

Signed-off-by: Eric Leblond <eric@inl.fr>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
configure.in

index 96cc2d0fb605a7616ffa20c9617a39f637b47450..88895756a783f7621dac847987663277f1a76c43 100644 (file)
@@ -30,7 +30,7 @@ dnl Checks for library functions.
 AC_FUNC_VPRINTF
 AC_CHECK_FUNCS(socket strerror)
 
-CFLAGS="$CFLAGS -Wall -Wextra"
+CFLAGS="$CFLAGS -Wall -Wextra -Wno-unused-parameter"
 
 dnl Check for the right nfnetlink version
 LIBNFNETLINK_REQUIRED=0.0.39