diff options
| author | David Lamparter <equinox@diac24.net> | 2021-04-13 20:57:25 +0200 | 
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2021-06-24 16:42:59 +0200 | 
| commit | 13f9aea38346b49f2828157fd56710eb08e79e8f (patch) | |
| tree | b7cb6d287bf86c1e07e12cad435896deb46e1d70 /lib/subdir.am | |
| parent | 6418e2d34273256a7f9fae71dff92a96403101ff (diff) | |
build: add `-Werror` to xrelfo log format warnings
Adding a `\n' should now produce a warning.  Controlled by `-Werror` so
if you're doing a dev build and it's warning about some `prefix2str`
that should be converted to `%pFX`, you can turn off `-Werror` to fix it
later like with all other warnings.
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/subdir.am')
| -rw-r--r-- | lib/subdir.am | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/subdir.am b/lib/subdir.am index b4ba078e46..90301d800a 100644 --- a/lib/subdir.am +++ b/lib/subdir.am @@ -464,7 +464,7 @@ endif  SUFFIXES += .xref  %.xref: % $(CLIPPY) -	$(AM_V_XRELFO) $(CLIPPY) $(top_srcdir)/python/xrelfo.py $(XRELFO_FLAGS) -o $@ $< +	$(AM_V_XRELFO) $(CLIPPY) $(top_srcdir)/python/xrelfo.py $(WERROR) $(XRELFO_FLAGS) -o $@ $<  # dependencies added in python/makefile.py  frr.xref:  | 
