diff options
| author | tb <> | 2023-05-05 21:23:02 +0000 |
|---|---|---|
| committer | tb <> | 2023-05-05 21:23:02 +0000 |
| commit | 549cbe92324cb49a0d9fce29e4ece1813496c88b (patch) | |
| tree | eb2a644afeeb550269f569b68c2440e0f580a00f /src/lib/libtls | |
| parent | f4fce94d14b7bd043d898ed2ddf758c3c2fea8c9 (diff) | |
| download | openbsd-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/libtls')
| -rw-r--r-- | src/lib/libtls/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libtls/Makefile b/src/lib/libtls/Makefile index 78ff99b585..8287fec8fd 100644 --- a/src/lib/libtls/Makefile +++ b/src/lib/libtls/Makefile | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.37 2022/01/25 21:51:24 eric Exp $ | 1 | # $OpenBSD: Makefile,v 1.38 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 |
| @@ -7,7 +7,7 @@ SUBDIR= man | |||
| 7 | 7 | ||
| 8 | CFLAGS+= -Wall -Wimplicit -Wundef | 8 | CFLAGS+= -Wall -Wimplicit -Wundef |
| 9 | .if ${COMPILER_VERSION:L} == "clang" | 9 | .if ${COMPILER_VERSION:L} == "clang" |
| 10 | CFLAGS+= -Werror | 10 | CFLAGS+= -Werror -Wshadow |
| 11 | .endif | 11 | .endif |
| 12 | CFLAGS+= -DLIBRESSL_INTERNAL | 12 | CFLAGS+= -DLIBRESSL_INTERNAL |
| 13 | 13 | ||
