From 26d377573f85cfd56e64eb2d02504fcb09dad440 Mon Sep 17 00:00:00 2001 From: bde Date: Thu, 11 Jul 2002 18:06:09 +0000 Subject: 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. --- usr.sbin/elf2aout/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'usr.sbin') 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 -- cgit v1.1