From d693bb5836b49da46cb9e1823f882f9775ba64e5 Mon Sep 17 00:00:00 2001 From: tb Date: Mon, 27 May 2024 16:11:43 +0000 Subject: [PATCH] openssl: enable -Wshadow for clang ok job jsing --- usr.bin/openssl/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/openssl/Makefile b/usr.bin/openssl/Makefile index 47199c10e17..ac423619325 100644 --- a/usr.bin/openssl/Makefile +++ b/usr.bin/openssl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.12 2023/04/25 16:11:02 tb Exp $ +# $OpenBSD: Makefile,v 1.13 2024/05/27 16:11:43 tb Exp $ .include @@ -11,12 +11,12 @@ CFLAGS+= -Wformat CFLAGS+= -Wformat-security CFLAGS+= -Wimplicit CFLAGS+= -Wreturn-type -#CFLAGS+= -Wshadow CFLAGS+= -Wtrigraphs CFLAGS+= -Wuninitialized CFLAGS+= -Wunused .if ${COMPILER_VERSION:L} == "clang" CFLAGS+= -Werror +CFLAGS+= -Wshadow .endif CFLAGS+= -DLIBRESSL_INTERNAL -- 2.20.1