aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2002-07-11 18:06:09 +0000
committerBruce Evans <bde@FreeBSD.org>2002-07-11 18:06:09 +0000
commit729cce84031c71e3d4a4c2b8245b22c6723fc85c (patch)
tree6d3599b11b5342a9e33fe69cf6d32c393454f66d /usr.bin
parentbf117eda42d7344d01a82d28aa0a3340e23825e3 (diff)
downloadsrc-729cce84031c71e3d4a4c2b8245b22c6723fc85c.tar.gz
src-729cce84031c71e3d4a4c2b8245b22c6723fc85c.zip
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.
Notes
Notes: svn path=/head/; revision=99799
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/elf2aout/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/elf2aout/Makefile b/usr.bin/elf2aout/Makefile
index c05fb5ce6ca4..b2218eb310c7 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>