freebsd-dev/usr.sbin/kldxref/Makefile
John Birrell 0aad0f2282 These are the things that the tinderbox has problems with because it
doesn't use the default CFLAGS which contain -fno-strict-aliasing.

Until the code is cleaned up, just add -fno-strict-aliasing to the
CFLAGS of these for the tinderboxes' sake, allowing the rest of the
tree to have -Werror enabled again.
2007-11-20 02:07:30 +00:00

17 lines
227 B
Makefile

# $FreeBSD$
PROG= kldxref
MAN= kldxref.8
SRCS= kldxref.c ef.c ef_obj.c
WARNS?= 2
CFLAGS+=-fno-strict-aliasing
.if exists(ef_${MACHINE_ARCH}.c)
SRCS+= ef_${MACHINE_ARCH}.c
.else
SRCS+= ef_nop.c
.endif
.include <bsd.prog.mk>