From owner-freebsd-smp Mon Jan 20 19:10:12 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id TAA22820 for smp-outgoing; Mon, 20 Jan 1997 19:10:12 -0800 (PST) Received: from fly.HiWAAY.net (root@fly.HiWAAY.net [208.147.154.56]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id TAA22808 for ; Mon, 20 Jan 1997 19:10:06 -0800 (PST) Received: from bonsai.hiwaay.net by fly.HiWAAY.net; (8.8.4/1.1.8.2/21Sep95-1003PM) id VAA25580; Mon, 20 Jan 1997 21:09:32 -0600 (CST) Message-ID: <32E43320.446B9B3D@hiwaay.net> Date: Mon, 20 Jan 1997 21:08:16 -0600 From: Steve Price X-Mailer: Mozilla 3.01 (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: brian@mpress.com CC: freebsd-smp@freebsd.org Subject: Re: make -j makes errors References: <19970121024151.28565.qmail@mpress.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk brian@mediacity.com wrote: > > Someone was nice enough to email the changes necessary to > /usr/share/make/sys.mk to keep make -j from having compile > problems. > > I misplaced the changes. Could some kind soul send them to be again? > > Thanks, > > -- > Brian Litzinger > brian@mediacity.com I committed them once, but have since removed them at the urging of Bruce and Garrett. I am working on fixing this scenario the right way now (with the a little guidance from Bruce :). The easiest way (but not the best way) is to apply the attached patch. Steve =================================================================== RCS file: /u/FreeBSD/cvs/src/share/mk/sys.mk,v retrieving revision 1.21 diff -u -r1.21 sys.mk --- sys.mk 1997/01/14 06:33:32 1.21 +++ sys.mk 1997/01/21 03:05:22 @@ -190,10 +190,8 @@ ${CC} ${CFLAGS} -c ${.PREFIX}.tmp.c -o ${.TARGET} rm -f ${.PREFIX}.tmp.c -# XXX not -j safe .y.c: - ${YACC} ${YFLAGS} ${.IMPSRC} - mv y.tab.c ${.TARGET} + (${YACC} ${YFLAGS} ${.IMPSRC}; mv y.tab.c ${.TARGET}) .l.c: ${LEX} -t ${LFLAGS} ${.IMPSRC} > ${.TARGET}