freebsd-dev/usr.sbin/wake/Makefile
Warner Losh b207c9d856 Anything that casts struct sockaddr * to struct sockaddr_foo is safe
due to careful design.  We've not yet figured out how to properly
annotate the sockaddr structs to communicate this to the compiler and
there's a number of constructs in the tree that make this annotation
challenging.

As such, reduce warns to 3 here because this code really isn't warns 6
safe, even if it kinda sorta appears to be on intel (which has no such
alignment restrictions).  Warns 4 adds the -Wcast-align warning.

# fixes the mips tinderbox build
2010-02-09 17:16:13 +00:00

9 lines
71 B
Makefile

# $FreeBSD$
PROG= wake
MAN= wake.8
WARNS?= 3
.include <bsd.prog.mk>