From: Miroslav Lichvar Date: Wed, 19 Nov 2025 15:31:52 +0000 (+0100) Subject: configure: add -Wshadow to gcc/clang-specific CFLAGS X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b86c9d9c837927ad321109effc7fa0cae09aa495;p=thirdparty%2Fchrony.git configure: add -Wshadow to gcc/clang-specific CFLAGS --- diff --git a/configure b/configure index ab0cfcf9..4f4d1554 100755 --- a/configure +++ b/configure @@ -560,7 +560,7 @@ else fi if [ "x$MYCC" = "xgcc" ] || [ "x$MYCC" = "xclang" ]; then - MYCFLAGS="$MYCFLAGS -Wmissing-prototypes -Wall" + MYCFLAGS="$MYCFLAGS -Wmissing-prototypes -Wshadow -Wall" fi if [ "x$PKG_CONFIG" = "x" ]; then