summaryrefslogtreecommitdiff
path: root/Makefile.am.inc
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-03-07 18:43:28 +0000
committerJoão Valverde <j@v6e.pt>2016-04-07 17:44:36 +0000
commit2b20326fd26b1b956ac3e68f16edcea37191377b (patch)
tree1cd50bbff6fc0315aacc7a619cd0d698373c47b0 /Makefile.am.inc
parentce83807beff82d3ca15904807c92d254994f40e9 (diff)
downloadwireshark-2b20326fd26b1b956ac3e68f16edcea37191377b.tar.gz
autotools: Use AC_SUBST to set -Werror flag
Change-Id: I34a90155ab613ca97bf58b72f56ec08eff87d3ab Reviewed-on: https://code.wireshark.org/review/14849 Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'Makefile.am.inc')
-rw-r--r--Makefile.am.inc6
1 files changed, 0 insertions, 6 deletions
diff --git a/Makefile.am.inc b/Makefile.am.inc
index 45b8533c36..0f39785c9a 100644
--- a/Makefile.am.inc
+++ b/Makefile.am.inc
@@ -27,12 +27,6 @@ LEMON = $(top_builddir)/tools/lemon/lemon$(EXEEXT)
RUNLEX = $(top_srcdir)/tools/runlex.sh
-if HAVE_WARNINGS_AS_ERRORS
-WERROR = -Werror
-else
-WERROR =
-endif
-
INCLUDEDIRS = -I$(top_srcdir)
#AM_CPPFLAGS = $(INCLUDEDIRS) $(WS_CPPFLAGS)