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.
This commit is contained in:
parent
bf117eda42
commit
729cce8403
@ -3,6 +3,7 @@
|
||||
PROG= elf2aout
|
||||
CFLAGS+=-I${.CURDIR}/../crunch/crunchide
|
||||
WARNS?= 5
|
||||
NO_WERROR?=
|
||||
NOMAN=
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -3,6 +3,7 @@
|
||||
PROG= elf2aout
|
||||
CFLAGS+=-I${.CURDIR}/../crunch/crunchide
|
||||
WARNS?= 5
|
||||
NO_WERROR?=
|
||||
NOMAN=
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user