Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 1997 21:08:16 -0600
From:      Steve Price <sprice@hiwaay.net>
To:        brian@mpress.com
Cc:        freebsd-smp@freebsd.org
Subject:   Re: make -j makes errors
Message-ID:  <32E43320.446B9B3D@hiwaay.net>
References:  <19970121024151.28565.qmail@mpress.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32E43320.446B9B3D>