Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/crunch/crunchgen CRUNCHEDPROG=1 is a bit more useful...



details:   https://anonhg.NetBSD.org/src/rev/db18a8937cfb
branches:  trunk
changeset: 521632:db18a8937cfb
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sat Feb 02 12:25:35 2002 +0000

description:
CRUNCHEDPROG=1 is a bit more useful if it's also defined when
determining prog_OBJPATHS ...

diffstat:

 usr.bin/crunch/crunchgen/crunchgen.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 5ef8d1a4cb72 -r db18a8937cfb usr.bin/crunch/crunchgen/crunchgen.c
--- a/usr.bin/crunch/crunchgen/crunchgen.c      Sat Feb 02 12:14:41 2002 +0000
+++ b/usr.bin/crunch/crunchgen/crunchgen.c      Sat Feb 02 12:25:35 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: crunchgen.c,v 1.32 2002/02/02 12:14:41 lukem Exp $     */
+/*     $NetBSD: crunchgen.c,v 1.33 2002/02/02 12:25:35 lukem Exp $     */
 /*
  * Copyright (c) 1994 University of Maryland
  * All Rights Reserved.
@@ -33,7 +33,7 @@
  */
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: crunchgen.c,v 1.32 2002/02/02 12:14:41 lukem Exp $");
+__RCSID("$NetBSD: crunchgen.c,v 1.33 2002/02/02 12:25:35 lukem Exp $");
 #endif
 
 #if HAVE_CONFIG_H
@@ -620,8 +620,8 @@
     fclose(f);
 
     (void)snprintf(line, sizeof(line),
-       "cd %s && %s -f %s %s crunchgen_objs 2>&1", dirpath, makebin, 
-       tempfname, makeflags);
+       "cd %s && %s CRUNCHEDPROG=1 -f %s %s crunchgen_objs 2>&1", dirpath,
+       makebin, tempfname, makeflags);
     if((f = popen(line, "r+")) == NULL) {
        perror("submake pipe");
        goterror = 1;



Home | Main Index | Thread Index | Old Index