aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lemon
diff options
context:
space:
mode:
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