[2/2,nft] build: relax compilation not to break on warning

Submitted by Pablo Neira on Nov. 15, 2013, 9:06 a.m.

Details

Message ID 1384506365-4342-2-git-send-email-pablo@netfilter.org
State Accepted
Headers show

Commit Message

Pablo Neira Nov. 15, 2013, 9:06 a.m.
Remove -Werror, as bison and flex generate unclean code that may
break compilation.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
---
 Makefile.defs.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/Makefile.defs.in b/Makefile.defs.in
index 545c4ee..502f374 100644
--- a/Makefile.defs.in
+++ b/Makefile.defs.in
@@ -28,7 +28,7 @@  CFLAGS		+= -include config.h
 CFLAGS		+= -Iinclude
 CFLAGS		+= -fno-strict-aliasing
 
-CFLAGS		+= -Wall -Werror
+CFLAGS		+= -Wall
 CFLAGS		+= -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
 CFLAGS		+= -Wdeclaration-after-statement -Wsign-compare -Winit-self
 CFLAGS		+= -Wformat-nonliteral -Wformat-security -Wmissing-format-attribute