When using crunchgen, blow away MAKEFLAGS. This fixes make -j <#> -P

from passing the -P flag to crunchgen which seems to confuse crunchgen
horribly. This is the preferable solution to modifing crunchgen to
unset the MAKEFLAGS environment variable.

Submitted by:	gad@
This commit is contained in:
Gordon Tetlow 2003-08-01 09:04:32 +00:00
parent 20b0471597
commit b7ca2f2822
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118299

View File

@ -248,8 +248,8 @@ $(CONF): Makefile
.ORDER: $(OUTPUTS) objs
$(OUTPUTS): $(CONF)
MAKEOBJDIRPREFIX=${CRUNCHOBJS} crunchgen -q -m $(OUTMK) -c $(OUTC) \
$(CONF)
MAKEFLAGS= MAKEOBJDIRPREFIX=${CRUNCHOBJS} crunchgen -q -m $(OUTMK) \
-c $(OUTC) $(CONF)
$(PROG): $(OUTPUTS) objs
MAKEOBJDIRPREFIX=${CRUNCHOBJS} make -f $(OUTMK)