From f80cceafee1396508c86a18de16d644e578185a8 Mon Sep 17 00:00:00 2001 From: naddy Date: Wed, 22 May 2024 15:24:55 +0000 Subject: [PATCH] Do not pass -Werror twice when building with clang. --- usr.bin/ssh/Makefile.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/usr.bin/ssh/Makefile.inc b/usr.bin/ssh/Makefile.inc index 4864179048c..7c350905e44 100644 --- a/usr.bin/ssh/Makefile.inc +++ b/usr.bin/ssh/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.91 2024/05/22 11:49:36 miod Exp $ +# $OpenBSD: Makefile.inc,v 1.92 2024/05/22 15:24:55 naddy Exp $ .include @@ -19,7 +19,6 @@ CDIAGFLAGS+= -Wunused CDIAGFLAGS+= -Wno-unused-parameter # Lots of these in protocol handlers. .if ${COMPILER_VERSION:L} == "clang" CDIAGFLAGS+= -Widiomatic-parentheses -Wparentheses -CDIAGFLAGS+= -Werror .endif .if ${COMPILER_VERSION:L} != "gcc3" CDIAGFLAGS+= -Wstrict-aliasing=2 -- 2.20.1