From b08897254c55590a31ca1d5635fa84273caa3208 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sat, 31 Jan 2009 07:03:36 +0000 Subject: [PATCH] Run with -B and just .POSIX. --- usr.sbin/crunch/crunchgen/crunchgen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/crunch/crunchgen/crunchgen.c b/usr.sbin/crunch/crunchgen/crunchgen.c index 5915e1396e6b..752acc68787c 100644 --- a/usr.sbin/crunch/crunchgen/crunchgen.c +++ b/usr.sbin/crunch/crunchgen/crunchgen.c @@ -709,7 +709,7 @@ void fillin_program_objs(prog_t *p, char *path) if (outhdrname[0] != '\0') fprintf(f, ".include \"%s\"\n", outhdrname); fprintf(f, ".include \"%s\"\n", path); - fprintf(f, ".NOTPARALLEL:\n.NO_PARALLEL:\n.POSIX:\n"); + fprintf(f, ".POSIX:\n"); if (buildopts) { fprintf(f, "BUILDOPTS+="); output_strlst(f, buildopts); @@ -728,7 +728,7 @@ void fillin_program_objs(prog_t *p, char *path) fclose(f); - snprintf(line, MAXLINELEN, "cd %s && make -f %s -Q crunchgen_objs", + snprintf(line, MAXLINELEN, "cd %s && make -f %s -B crunchgen_objs", p->srcdir, tempfname); if ((f = popen(line, "r")) == NULL) { warn("submake pipe");