summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libcrypto/Makefile4
-rw-r--r--lib/libssl/Makefile4
-rw-r--r--lib/libtls/Makefile4
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/libcrypto/Makefile b/lib/libcrypto/Makefile
index 738bab21d3f..be167a93f2c 100644
--- a/lib/libcrypto/Makefile
+++ b/lib/libcrypto/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.126 2023/05/05 12:20:03 tb Exp $
+# $OpenBSD: Makefile,v 1.127 2023/05/05 21:23:02 tb Exp $
LIB= crypto
LIBREBUILD=y
@@ -16,7 +16,7 @@ LCRYPTO_SRC= ${.CURDIR}
CFLAGS+= -Wall -Wundef
.if ${COMPILER_VERSION:L} == "clang"
-CFLAGS+= -Werror
+CFLAGS+= -Werror -Wshadow
.endif
CFLAGS+= -DLIBRESSL_INTERNAL -DLIBRESSL_CRYPTO_INTERNAL
.ifdef NAMESPACE
diff --git a/lib/libssl/Makefile b/lib/libssl/Makefile
index a6ee26a6676..b5b4ff4d318 100644
--- a/lib/libssl/Makefile
+++ b/lib/libssl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.78 2022/11/11 11:25:18 beck Exp $
+# $OpenBSD: Makefile,v 1.79 2023/05/05 21:23:02 tb Exp $
.include <bsd.own.mk>
.ifndef NOMAN
@@ -13,7 +13,7 @@ LIB= ssl
CFLAGS+= -Wall -Wundef
.if ${COMPILER_VERSION:L} == "clang"
-CFLAGS+= -Werror
+CFLAGS+= -Werror -Wshadow
.endif
CFLAGS+= -DLIBRESSL_INTERNAL
.ifdef NAMESPACE
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