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 move LDSTATIC before the includes b...



details:   https://anonhg.NetBSD.org/src/rev/734aa1a211c8
branches:  trunk
changeset: 754134:734aa1a211c8
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Apr 21 14:58:10 2010 +0000

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

diffstat:

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

diffs (34 lines):

diff -r cdc2cc186d5e -r 734aa1a211c8 usr.bin/crunch/crunchgen/crunchgen.c
--- a/usr.bin/crunch/crunchgen/crunchgen.c      Wed Apr 21 12:58:38 2010 +0000
+++ b/usr.bin/crunch/crunchgen/crunchgen.c      Wed Apr 21 14:58:10 2010 +0000
@@ -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");
 }
 
 



Home | Main Index | Thread Index | Old Index