mirror of
https://github.com/opnsense/src.git
synced 2026-03-02 21:31:02 -05:00
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.
9 lines
122 B
Makefile
9 lines
122 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= elf2aout
|
|
CFLAGS+=-I${.CURDIR}/../crunch/crunchide
|
|
WARNS?= 5
|
|
NO_WERROR?=
|
|
NOMAN=
|
|
|
|
.include <bsd.prog.mk>
|