From: tb Date: Mon, 27 May 2024 16:11:43 +0000 (+0000) Subject: openssl: enable -Wshadow for clang X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d693bb5836b49da46cb9e1823f882f9775ba64e5;p=openbsd openssl: enable -Wshadow for clang ok job jsing --- 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