Skip to content

Commit a3291ff

Browse files
committed
fix clang build
1 parent c111734 commit a3291ff

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • crypto/external/bsd/openssh/bin/ssh-keygen

crypto/external/bsd/openssh/bin/ssh-keygen/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $NetBSD: Makefile,v 1.10 2023/06/03 09:09:02 lukem Exp $
1+
# $NetBSD: Makefile,v 1.11 2025/10/15 16:52:59 christos Exp $
22

33
BINDIR= /usr/bin
44

@@ -10,5 +10,6 @@ COPTS.ssh-keygen.c+= -Wno-pointer-sign
1010
COPTS.ssh-keygen.c+= ${CC_WNO_FORMAT_TRUNCATION}
1111
COPTS.ssh-keygen.c+= -Wno-error=deprecated-declarations
1212
COPTS.moduli.c+= -Wno-error=deprecated-declarations
13+
COPTS.ssh-keygen.c+= ${${ACTIVE_CC} == "clang":? -Wno-error=invalid-noreturn :}
1314

1415
.include <bsd.prog.mk>

0 commit comments

Comments
 (0)