summaryrefslogtreecommitdiff
path: root/usr.bin/openssl
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-05-27 16:11:44 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-05-27 16:11:44 +0000
commitd8b94dd7b2c1743ea2d4e43263da92a637f6ee31 (patch)
tree09bea85a7922ebbccabbf7aff1b10ca372cc6c79 /usr.bin/openssl
parent1877e0de795a84e3b1af5d53ce1fdb9472051772 (diff)
openssl: enable -Wshadow for clang
ok job jsing
Diffstat (limited to 'usr.bin/openssl')
-rw-r--r--usr.bin/openssl/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/openssl/Makefile b/usr.bin/openssl/Makefile
index 47199c10e17..ac423619325 100644
--- a/usr.bin/openssl/Makefile
+++ b/usr.bin/openssl/Makefile
@@ -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