]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
configure: add -Wshadow to gcc/clang-specific CFLAGS
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 19 Nov 2025 15:31:52 +0000 (16:31 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 20 Nov 2025 09:22:45 +0000 (10:22 +0100)
configure

index ab0cfcf9b64efb5e32ab724e2d760fa9646dc309..4f4d15549d00b9d2ce1975c352fc0ef5082c91cf 100755 (executable)
--- 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