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

login
register
mail settings
Submitter Pablo Neira
Date Nov. 15, 2013, 9:06 a.m.
Message ID <1384506365-4342-2-git-send-email-pablo@netfilter.org>
Download mbox | patch
Permalink /patch/291513/
State Accepted
Headers show

Comments

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

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