From b7ca2f2822174f174d582a1b122001c6b59e034f Mon Sep 17 00:00:00 2001 From: Gordon Tetlow Date: Fri, 1 Aug 2003 09:04:32 +0000 Subject: [PATCH] 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@ --- rescue/rescue/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rescue/rescue/Makefile b/rescue/rescue/Makefile index d12c35caa8e..32c16cdd7f1 100644 --- a/rescue/rescue/Makefile +++ b/rescue/rescue/Makefile @@ -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)