summaryrefslogtreecommitdiff
path: root/lib/libtls
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-05-05 21:23:03 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-05-05 21:23:03 +0000
commit8e76a453353df925e2ee860cd3cfc60a8cdb5914 (patch)
treece68684b1b4b30325cf73456b3aec92c58e7fd56 /lib/libtls
parent5d57ebca7031f140db4b26364e9635ea125c31bb (diff)
Use -Wshadow with clang
ok jsing (a very long time ago)
Diffstat (limited to 'lib/libtls')
-rw-r--r--lib/libtls/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libtls/Makefile b/lib/libtls/Makefile
index 78ff99b5857..8287fec8fd0 100644
--- a/lib/libtls/Makefile
+++ b/lib/libtls/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.37 2022/01/25 21:51:24 eric Exp $
+# $OpenBSD: Makefile,v 1.38 2023/05/05 21:23:02 tb Exp $
.include <bsd.own.mk>
.ifndef NOMAN
@@ -7,7 +7,7 @@ SUBDIR= man
CFLAGS+= -Wall -Wimplicit -Wundef
.if ${COMPILER_VERSION:L} == "clang"
-CFLAGS+= -Werror
+CFLAGS+= -Werror -Wshadow
.endif
CFLAGS+= -DLIBRESSL_INTERNAL