Subject: Re: mbrlabel bug
To: Frederick Bruckman <fb@enteract.com>
From: Perry E. Metzger <perry@piermont.com>
List: current-users
Date: 11/25/1998 21:34:26
Frederick Bruckman writes:
> On Wed, 25 Nov 1998, der Mouse wrote:
> 
> > I don't recall seeing any resolution mentioned, though I think playing
> > with optimization options (turning it off, or on, or something) was
> > reported to make the warning go away.
> 
> Yup. -O0 lets it compile. So we'll need something like this?

No. The right thing to do is to fix the bug. We should isolate it and
kill it. It could hurt lots of other programs.

.pm

> 
> --- /usr/src/usr.sbin/mbrlabel/Makefile.orig	Mon Nov 16 12:44:25 1998
> +++ /usr/src/usr.sbin/mbrlabel/Makefile	Wed Nov 25 12:02:53 1998
> @@ -9,3 +9,7 @@
>  
>  .PATH:	${DISKLABELPATH}
>  .include <bsd.prog.mk>
> +
> +.if (${MACHINE_ARCH} == "m68k")
> +COPTS+=-O0
> +.endif
>