From 128f7ba0f77474b095e0a1aeb969b53c729ccd95 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Mon, 29 Apr 2002 04:20:56 +0000 Subject: [PATCH] Invoke the "make crunchgen_objs" submake with -B so we aren't confused if we're being invoked in the context of a parallel build. --- usr.bin/crunch/crunchgen/crunchgen.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/crunch/crunchgen/crunchgen.c b/usr.bin/crunch/crunchgen/crunchgen.c index 6129fd169895..ee5d75a746ea 100644 --- a/usr.bin/crunch/crunchgen/crunchgen.c +++ b/usr.bin/crunch/crunchgen/crunchgen.c @@ -1,4 +1,4 @@ -/* $NetBSD: crunchgen.c,v 1.35 2002/03/31 08:02:08 lukem Exp $ */ +/* $NetBSD: crunchgen.c,v 1.36 2002/04/29 04:20:56 sommerfeld Exp $ */ /* * Copyright (c) 1994 University of Maryland * All Rights Reserved. @@ -33,7 +33,7 @@ */ #include #if defined(__RCSID) && !defined(lint) -__RCSID("$NetBSD: crunchgen.c,v 1.35 2002/03/31 08:02:08 lukem Exp $"); +__RCSID("$NetBSD: crunchgen.c,v 1.36 2002/04/29 04:20:56 sommerfeld Exp $"); #endif #if HAVE_CONFIG_H @@ -621,7 +621,7 @@ void fillin_program_objs(prog_t *p, char *dirpath) fclose(f); (void)snprintf(line, sizeof(line), - "cd %s && %s CRUNCHEDPROG=1 -f %s %s crunchgen_objs 2>&1", dirpath, + "cd %s && %s -B CRUNCHEDPROG=1 -f %s %s crunchgen_objs 2>&1", dirpath, makebin, tempfname, makeflags); if((f = popen(line, "r")) == NULL) { perror("submake pipe");