summaryrefslogtreecommitdiff
path: root/src/lib/libssl
diff options
context:
space:
mode:
authortb <>2023-05-05 21:23:02 +0000
committertb <>2023-05-05 21:23:02 +0000
commit549cbe92324cb49a0d9fce29e4ece1813496c88b (patch)
treeeb2a644afeeb550269f569b68c2440e0f580a00f /src/lib/libssl
parentf4fce94d14b7bd043d898ed2ddf758c3c2fea8c9 (diff)
downloadopenbsd-549cbe92324cb49a0d9fce29e4ece1813496c88b.tar.gz
openbsd-549cbe92324cb49a0d9fce29e4ece1813496c88b.tar.bz2
openbsd-549cbe92324cb49a0d9fce29e4ece1813496c88b.zip
Use -Wshadow with clang
ok jsing (a very long time ago)
Diffstat (limited to 'src/lib/libssl')
-rw-r--r--src/lib/libssl/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/Makefile b/src/lib/libssl/Makefile
index a6ee26a667..b5b4ff4d31 100644
--- a/src/lib/libssl/Makefile
+++ b/src/lib/libssl/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.78 2022/11/11 11:25:18 beck Exp $ 1# $OpenBSD: Makefile,v 1.79 2023/05/05 21:23:02 tb Exp $
2 2
3.include <bsd.own.mk> 3.include <bsd.own.mk>
4.ifndef NOMAN 4.ifndef NOMAN
@@ -13,7 +13,7 @@ LIB= ssl
13 13
14CFLAGS+= -Wall -Wundef 14CFLAGS+= -Wall -Wundef
15.if ${COMPILER_VERSION:L} == "clang" 15.if ${COMPILER_VERSION:L} == "clang"
16CFLAGS+= -Werror 16CFLAGS+= -Werror -Wshadow
17.endif 17.endif
18CFLAGS+= -DLIBRESSL_INTERNAL 18CFLAGS+= -DLIBRESSL_INTERNAL
19.ifdef NAMESPACE 19.ifdef NAMESPACE