summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2021-05-20 15:30:26 -0400
committerMark Stapp <mjs@voltanet.io>2021-05-20 15:30:26 -0400
commit1c35c57c968fdcefea5a1daa6df5a44ea7c9e67a (patch)
tree099a770d8803464bb1a792ab1a67f8178e4eddb7
parent202af4abaa299951c599909960b495d455cea271 (diff)
build: display Werror in configure output if configured
Include -Werror with the listing of compiler flags. Signed-off-by: Mark Stapp <mjs@voltanet.io>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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}