Subject: Re: CVS commit: basesrc
To: None <he@netbsd.org>
From: John Darrow <John.P.Darrow@wheaton.edu>
List: source-changes
Date: 02/29/2000 21:02:38
In article <200003010038.QAA07623@nb00.nas.nasa.gov>,
Havard Eidnes <he@netbsd.org> wrote:
> o Workaround for vax gcc optimizer problems
Well, if we're doing Makefile modifications for optimizer problems,
can we _please_ get the following into usr.sbin/rwho/Makefile ? There's
been an optimizer bug ever since the import of egcs that causes rwho -a
to yield bogus negative values for the hours. The bug is present still
on both the netbsd-1-4 branch and in netbsd-current...
I've had a pr open (port-i386/8364) for a few months now about the bug
itself, but for now, it would save a lot of annoyance for me to be able
to install a release without having to go back and recompile rwho, which,
in a computer lab environment, tends to be used a lot...
Index: /var/src/usr.bin/rwho/Makefile
===================================================================
RCS file: /source/cvs/netbsd/current/src/usr.bin/rwho/Makefile,v
retrieving revision 1.1.1.1
retrieving revision 1.3
diff -u -r1.1.1.1 -r1.3
--- Makefile 1999/01/17 15:56:06 1.1.1.1
+++ Makefile 1999/03/28 21:43:29 1.3
@@ -3,4 +3,8 @@
PROG= rwho
+.if (${MACHINE_ARCH} == "i386")
+CFLAGS= -O # work around bug in egcs
+.endif
+
.include <bsd.prog.mk>
jdarrow
--
John Darrow - Senior Technical Specialist Office: 630/752-5201
Computing Services, Wheaton College, Wheaton, IL 60187 Fax: 630/752-5968
Alphapage: 6303160707@alphapage.airtouch.com Pager: 630/316-0707
Email: John.P.Darrow@wheaton.edu