aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lemon
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-01-29 02:41:29 +0000
committerJoão Valverde <j@v6e.pt>2016-01-29 13:07:34 +0000
commit21c3a6d91bcc994bf9108b604fdd828296197139 (patch)
treed8553da201f1bc8aebf38e4ddfb274256428d8fb /tools/lemon
parent4842e4b3032233ec9c269389d102e090db6ee001 (diff)
lemon: Have Makefile.am handle warnings as errors correctly
Change-Id: If0d59eb109802a799c33e439e607178102678f7d Reviewed-on: https://code.wireshark.org/review/13580 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'tools/lemon')
-rw-r--r--tools/lemon/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lemon/Makefile.am b/tools/lemon/Makefile.am
index 83b9385fc1..0f2be55d53 100644
--- a/tools/lemon/Makefile.am
+++ b/tools/lemon/Makefile.am
@@ -24,7 +24,7 @@
# also need to link against libftypes.
if HAVE_WARNINGS_AS_ERRORS
-AM_CFLAGS = -Werror
+CFLAGS_FOR_BUILD += -Werror
endif
noinst_PROGRAMS = lemon