]> git.proxmox.com Git - mirror_frr.git/commitdiff
build: unconditionally enable format checks
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 26 Jul 2022 19:46:33 +0000 (15:46 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Tue, 2 Aug 2022 14:37:55 +0000 (10:37 -0400)
The format message checks done by clippy/xrelfo were still guarded
behind `--enable-dev-build`.  They've been clean and reliable, so it's
time to enable them unconditionally.

Fixes: #11680
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/subdir.am

index b0c311e7f263547cdd775b8ffc24b918025a8328..d6defd7149fd1aa43a09fc2850662dbae16bae4a 100644 (file)
@@ -469,11 +469,7 @@ am__v_XRELFO_ = $(am__v_XRELFO_$(AM_DEFAULT_VERBOSITY))
 am__v_XRELFO_0 = @echo "  XRELFO  " $@;
 am__v_XRELFO_1 =
 
-if DEV_BUILD
 XRELFO_FLAGS = -Wlog-format -Wlog-args
-else
-XRELFO_FLAGS =
-endif
 
 SUFFIXES += .xref
 %.xref: % $(CLIPPY)