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 | |
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.
-rw-r--r-- | usr.bin/elf2aout/Makefile | 1 | ||||
-rw-r--r-- | usr.sbin/elf2aout/Makefile | 1 |
2 files changed, 2 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> diff --git a/usr.sbin/elf2aout/Makefile b/usr.sbin/elf2aout/Makefile index c05fb5c..b2218eb 100644 --- a/usr.sbin/elf2aout/Makefile +++ b/usr.sbin/elf2aout/Makefile @@ -3,6 +3,7 @@ PROG= elf2aout CFLAGS+=-I${.CURDIR}/../crunch/crunchide WARNS?= 5 +NO_WERROR?= NOMAN= .include <bsd.prog.mk> |