diff options
author | tb <> | 2024-05-27 16:11:43 +0000 |
---|---|---|
committer | tb <> | 2024-05-27 16:11:43 +0000 |
commit | 8082b9b1d97da5d07cde8581070971133073aba6 (patch) | |
tree | b4f047834348c8d08d8b38cf3215b44fd413d301 | |
parent | 912c6385e2bea73681bdd41aed095d1a80a13cd3 (diff) | |
download | openbsd-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/Makefile | 4 |
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 | |||
11 | CFLAGS+= -Wformat-security | 11 | CFLAGS+= -Wformat-security |
12 | CFLAGS+= -Wimplicit | 12 | CFLAGS+= -Wimplicit |
13 | CFLAGS+= -Wreturn-type | 13 | CFLAGS+= -Wreturn-type |
14 | #CFLAGS+= -Wshadow | ||
15 | CFLAGS+= -Wtrigraphs | 14 | CFLAGS+= -Wtrigraphs |
16 | CFLAGS+= -Wuninitialized | 15 | CFLAGS+= -Wuninitialized |
17 | CFLAGS+= -Wunused | 16 | CFLAGS+= -Wunused |
18 | .if ${COMPILER_VERSION:L} == "clang" | 17 | .if ${COMPILER_VERSION:L} == "clang" |
19 | CFLAGS+= -Werror | 18 | CFLAGS+= -Werror |
19 | CFLAGS+= -Wshadow | ||
20 | .endif | 20 | .endif |
21 | CFLAGS+= -DLIBRESSL_INTERNAL | 21 | CFLAGS+= -DLIBRESSL_INTERNAL |
22 | 22 | ||