]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
src: restore nft --debug
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 23 Nov 2014 19:55:24 +0000 (20:55 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 23 Nov 2014 20:08:02 +0000 (21:08 +0100)
Add -DDEBUG to enable --debug option by default as it used to be before
the autotools conversion.

Fixes: 5fa8e49 ("build: autotools conversion")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/Makefile.am

index 0a67810288f2d66b143510df68afd94c72f894f8..e8afd464c6ad90aeee1b080161334bc08bb03533 100644 (file)
@@ -3,7 +3,7 @@ sbin_PROGRAMS = nft
 CLEANFILES = scanner.c parser_bison.c
 
 AM_CPPFLAGS = -I$(top_srcdir)/include
-AM_CPPFLAGS += -DDEFAULT_INCLUDE_PATH="\"${sysconfdir}\""
+AM_CPPFLAGS += -DDEFAULT_INCLUDE_PATH="\"${sysconfdir}\"" -DDEBUG
                ${LIBMNL_CFLAGS} ${LIBNFTNL_CFLAGS}
 
 AM_CFLAGS = -Wall                                                              \