NetBSD/sbin/ping6/Makefile
mrg c111245a78 apply some -Wno-error and/or -fno-strict-aliasing.
all of this should be looked at closer, but some of them are not
very trivial.
2011-06-22 02:49:41 +00:00

22 lines
328 B
Makefile

# $NetBSD: Makefile,v 1.13 2011/06/22 02:49:44 mrg Exp $
USE_FORT?= yes # setuid
PROG= ping6
MAN= ping6.8
BINOWN= root
BINMODE=4555
CPPFLAGS+=-DINET6
CPPFLAGS+=-DIPSEC
LDADD+= -lipsec -lm
DPADD+= ${LIBIPSEC} ${LIBM}
.include <bsd.prog.mk>
# XXX
.if ${HAVE_GCC} == 45
COPTS.ping6.c+= -fno-strict-aliasing -Wno-error
.endif