summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/Makefile.inc
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2024-05-22 15:24:56 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2024-05-22 15:24:56 +0000
commitba87ccc4cb61629f1562d27235bacdf47fd8322c (patch)
treebce8c137829a218c79f169bfd85376278d852868 /usr.bin/ssh/Makefile.inc
parent7ef49e23cd37e219d23ffa0f28df34f1fbcd6585 (diff)
Do not pass -Werror twice when building with clang.
Diffstat (limited to 'usr.bin/ssh/Makefile.inc')
-rw-r--r--usr.bin/ssh/Makefile.inc3
1 files changed, 1 insertions, 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 <bsd.own.mk>
@@ -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