From 1c35c57c968fdcefea5a1daa6df5a44ea7c9e67a Mon Sep 17 00:00:00 2001 From: Mark Stapp Date: Thu, 20 May 2021 15:30:26 -0400 Subject: [PATCH] build: display Werror in configure output if configured Include -Werror with the listing of compiler flags. Signed-off-by: Mark Stapp --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 6ed438ace0..effdb3a87a 100644 --- a/configure.ac +++ b/configure.ac @@ -2685,7 +2685,7 @@ FRR version : ${PACKAGE_VERSION} host operating system : ${host_os} source code location : ${srcdir} compiler : ${CC} -compiler flags : ${CFLAGS} ${AC_CFLAGS} ${SAN_FLAGS} +compiler flags : ${CFLAGS} ${WERROR} ${AC_CFLAGS} ${SAN_FLAGS} make : ${MAKE-make} linker flags : ${LDFLAGS} ${SAN_FLAGS} ${LIBS} ${LIBCAP} ${LIBREADLINE} ${LIBM} state file directory : ${frr_statedir}