deal with OpenSSL-3.x

This commit is contained in:
christos 2023-05-09 02:30:21 +00:00
parent ac172e9e3f
commit f403516638
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.40 2021/08/14 17:08:21 christos Exp $
# $NetBSD: Makefile,v 1.41 2023/05/09 02:30:21 christos Exp $
WARNS?= 0 # XXX third-party program, many issues
NOCLANGERROR= # defined
@ -84,5 +84,9 @@ prsa_par.c: ${DIST}/src/racoon/prsa_par.y
CWARNFLAGS.gcc+= ${GCC_NO_ADDR_OF_PACKED_MEMBER}
COPTS+= -fcommon
COPTS.crypto_openssl.c+=-Wno-error=deprecated-declarations
COPTS.rsalist.c+=-Wno-error=deprecated-declarations
COPTS.prsa_par.c+=-Wno-error=deprecated-declarations
.include <bsd.prog.mk>