openssl: enable -Wshadow for clang
authortb <tb@openbsd.org>
Mon, 27 May 2024 16:11:43 +0000 (16:11 +0000)
committertb <tb@openbsd.org>
Mon, 27 May 2024 16:11:43 +0000 (16:11 +0000)
ok job jsing

usr.bin/openssl/Makefile

index 47199c1..ac42361 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: Makefile,v 1.12 2023/04/25 16:11:02 tb Exp $
+#      $OpenBSD: Makefile,v 1.13 2024/05/27 16:11:43 tb Exp $
 
 .include <bsd.own.mk>
 
@@ -11,12 +11,12 @@ CFLAGS+= -Wformat
 CFLAGS+= -Wformat-security
 CFLAGS+= -Wimplicit
 CFLAGS+= -Wreturn-type
-#CFLAGS+= -Wshadow
 CFLAGS+= -Wtrigraphs
 CFLAGS+= -Wuninitialized
 CFLAGS+= -Wunused
 .if ${COMPILER_VERSION:L} == "clang"
 CFLAGS+= -Werror
+CFLAGS+= -Wshadow
 .endif
 CFLAGS+= -DLIBRESSL_INTERNAL