Avoid symbol clashes in usr.sbin/ypserv/ypserv under MKSANITIZER

Remove symbol conflicts for: gethostbyname2
This commit is contained in:
kamil 2019-08-15 08:30:19 +00:00
parent fab4b3f46f
commit cb47fa61ba
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.18 2009/10/29 14:41:02 christos Exp $
# $NetBSD: Makefile,v 1.19 2019/08/15 08:30:19 kamil Exp $
.include <bsd.own.mk>
@ -18,4 +18,6 @@ DPADD+= ${LIBWRAP} ${LIBUTIL}
CPPFLAGS.gethnamaddr.c= -UYP -D_LIBC
CPPFLAGS.getnetnamadr.c=-UYP -D_LIBC
SANITIZER_RENAME_SYMBOL+= gethostbyname2
.include <bsd.prog.mk>