Module Name:    src
Committed By:   christos
Date:           Wed Apr 21 14:58:10 UTC 2010

Modified Files:
        src/usr.bin/crunch/crunchgen: crunchgen.c

Log Message:
move LDSTATIC before the includes because the rules need it early for
conditionals.


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/usr.bin/crunch/crunchgen/crunchgen.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/crunch/crunchgen/crunchgen.c
diff -u src/usr.bin/crunch/crunchgen/crunchgen.c:1.76 src/usr.bin/crunch/crunchgen/crunchgen.c:1.77
--- src/usr.bin/crunch/crunchgen/crunchgen.c:1.76	Sat Jan  9 01:37:57 2010
+++ src/usr.bin/crunch/crunchgen/crunchgen.c	Wed Apr 21 10:58:10 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: crunchgen.c,v 1.76 2010/01/09 06:37:57 kiyohara Exp $	*/
+/*	$NetBSD: crunchgen.c,v 1.77 2010/04/21 14:58:10 christos Exp $	*/
 /*
  * Copyright (c) 1994 University of Maryland
  * All Rights Reserved.
@@ -38,7 +38,7 @@
 
 #include <sys/cdefs.h>
 #if !defined(lint)
-__RCSID("$NetBSD: crunchgen.c,v 1.76 2010/01/09 06:37:57 kiyohara Exp $");
+__RCSID("$NetBSD: crunchgen.c,v 1.77 2010/04/21 14:58:10 christos Exp $");
 #endif
 
 #include <stdlib.h>
@@ -946,6 +946,7 @@
 	fprintf(outmk, " %s_make", p->ident);
     fprintf(outmk, "\n\n");
 
+    fprintf(outmk, "LDSTATIC=-static\n\n");
     fprintf(outmk, "PROG=%s\n\n", execfname);
     
     fprintf(outmk, "all: ${PROG}.crunched\n");
@@ -967,7 +968,6 @@
 void
 bottom_makefile_rules(FILE *outmk)
 {
-    fprintf(outmk, "LDSTATIC=-static\n");
 }
 
 

Reply via email to