diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2016-03-07 18:43:28 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2016-04-07 17:44:36 +0000 |
commit | 2b20326fd26b1b956ac3e68f16edcea37191377b (patch) | |
tree | 1cd50bbff6fc0315aacc7a619cd0d698373c47b0 /tools | |
parent | ce83807beff82d3ca15904807c92d254994f40e9 (diff) |
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 'tools')
-rw-r--r-- | tools/lemon/Makefile.am | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/lemon/Makefile.am b/tools/lemon/Makefile.am index f2a86dc84a..209d1f6d7a 100644 --- a/tools/lemon/Makefile.am +++ b/tools/lemon/Makefile.am @@ -31,14 +31,10 @@ CFLAGS = $(CFLAGS_FOR_BUILD) LDFLAGS = $(LDFLAGS_FOR_BUILD) LIBS = -if HAVE_WARNINGS_AS_ERRORS -WERROR = -Werror -endif +AM_CFLAGS = $(WERROR) $(WS_CFLAGS_FOR_BUILD) noinst_PROGRAMS = lemon -lemon_CFLAGS = $(WERROR) $(WS_CFLAGS_FOR_BUILD) - CLEANFILES = \ *~ |