Subject: Re: mbrlabel bug
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Frederick Bruckman <fb@enteract.com>
List: current-users
Date: 11/25/1998 12:07:38
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?

--- /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