summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2024-05-27 16:11:43 +0000
committertb <>2024-05-27 16:11:43 +0000
commit8082b9b1d97da5d07cde8581070971133073aba6 (patch)
treeb4f047834348c8d08d8b38cf3215b44fd413d301
parent912c6385e2bea73681bdd41aed095d1a80a13cd3 (diff)
downloadopenbsd-8082b9b1d97da5d07cde8581070971133073aba6.tar.gz
openbsd-8082b9b1d97da5d07cde8581070971133073aba6.tar.bz2
openbsd-8082b9b1d97da5d07cde8581070971133073aba6.zip
openssl: enable -Wshadow for clang
ok job jsing
-rw-r--r--src/usr.bin/openssl/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/Makefile b/src/usr.bin/openssl/Makefile
index 47199c10e1..ac42361932 100644
--- a/src/usr.bin/openssl/Makefile
+++ b/src/usr.bin/openssl/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.12 2023/04/25 16:11:02 tb Exp $ 1# $OpenBSD: Makefile,v 1.13 2024/05/27 16:11:43 tb Exp $
2 2
3.include <bsd.own.mk> 3.include <bsd.own.mk>
4 4
@@ -11,12 +11,12 @@ CFLAGS+= -Wformat
11CFLAGS+= -Wformat-security 11CFLAGS+= -Wformat-security
12CFLAGS+= -Wimplicit 12CFLAGS+= -Wimplicit
13CFLAGS+= -Wreturn-type 13CFLAGS+= -Wreturn-type
14#CFLAGS+= -Wshadow
15CFLAGS+= -Wtrigraphs 14CFLAGS+= -Wtrigraphs
16CFLAGS+= -Wuninitialized 15CFLAGS+= -Wuninitialized
17CFLAGS+= -Wunused 16CFLAGS+= -Wunused
18.if ${COMPILER_VERSION:L} == "clang" 17.if ${COMPILER_VERSION:L} == "clang"
19CFLAGS+= -Werror 18CFLAGS+= -Werror
19CFLAGS+= -Wshadow
20.endif 20.endif
21CFLAGS+= -DLIBRESSL_INTERNAL 21CFLAGS+= -DLIBRESSL_INTERNAL
22 22