freebsd-dev/usr.sbin/elf2aout/Makefile
Bruce Evans 729cce8403 Set NO_WERROR to ignore the following warning which is emitted on
alphas:
    .../elf2aout.c:130: warning: cast increases required alignment of
    target type
The warning is about casting ((char *)e + phoff) to a struct pointer,
where e is aligned but phoff might be garbage, so I think the warning
should be emitted on most machines (even on i386's, alignment checking
might be on) and the correct fix would involve validation phoff before
using it.
2002-07-11 18:06:09 +00:00

10 lines
122 B
Makefile

# $FreeBSD$
PROG= elf2aout
CFLAGS+=-I${.CURDIR}/../crunch/crunchide
WARNS?= 5
NO_WERROR?=
NOMAN=
.include <bsd.prog.mk>