diff options
author | bde <bde@FreeBSD.org> | 2002-07-11 18:06:09 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2002-07-11 18:06:09 +0000 |
commit | 26d377573f85cfd56e64eb2d02504fcb09dad440 (patch) | |
tree | 6d3599b11b5342a9e33fe69cf6d32c393454f66d /usr.bin/elf2aout | |
parent | 8a8f54cf28fbe1d04aa539e5a46b4cb9d71d6e33 (diff) | |
download | FreeBSD-src-26d377573f85cfd56e64eb2d02504fcb09dad440.zip FreeBSD-src-26d377573f85cfd56e64eb2d02504fcb09dad440.tar.gz |
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.
Diffstat (limited to 'usr.bin/elf2aout')
-rw-r--r-- | usr.bin/elf2aout/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/elf2aout/Makefile b/usr.bin/elf2aout/Makefile index c05fb5c..b2218eb 100644 --- a/usr.bin/elf2aout/Makefile +++ b/usr.bin/elf2aout/Makefile @@ -3,6 +3,7 @@ PROG= elf2aout CFLAGS+=-I${.CURDIR}/../crunch/crunchide WARNS?= 5 +NO_WERROR?= NOMAN= .include <bsd.prog.mk> |